Thread (6 messages) 6 messages, 3 authors, 2021-06-29

Re: [PATCH v4 1/2] net: phy: add API to read 802.3-c45 IDs

From: kernel test robot <hidden>
Date: 2021-06-28 21:15:06
Also in: oe-kbuild-all

Hi Xu,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.13 next-20210628]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Xu-Liang/net-phy-add-API-to-read-802-3-c45-IDs/20210628-223411
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 62fb9874f5da54fdb243003b386128037319b219
config: x86_64-randconfig-a001-20210628 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4c92e31dd0f1bd152eda883af20ff7fbcaa14945)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/918bc292dd52a4d1c5deacc2f525bf4dd4d9af1f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Xu-Liang/net-phy-add-API-to-read-802-3-c45-IDs/20210628-223411
        git checkout 918bc292dd52a4d1c5deacc2f525bf4dd4d9af1f
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/phy/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

All warnings (new ones prefixed by >>):
quoted
drivers/net/phy/phy_device.c:946: warning: expecting prototype for get_phy_c45_ids(). Prototype was for phy_get_c45_ids() instead

vim +946 drivers/net/phy/phy_device.c

   937	
   938	/**
   939	 * get_phy_c45_ids - Read 802.3-c45 IDs for phy device.
   940	 * @phydev: phy_device structure to read 802.3-c45 IDs
   941	 *
   942	 * Returns zero on success, %-EIO on bus access error, or %-ENODEV if
   943	 * the "devices in package" is invalid.
   944	 */
   945	int phy_get_c45_ids(struct phy_device *phydev)
 > 946	{
   947		return get_phy_c45_ids(phydev->mdio.bus, phydev->mdio.addr,
   948				       &phydev->c45_ids);
   949	}
   950	EXPORT_SYMBOL(phy_get_c45_ids);
   951	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help