[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202106290049.b7mB911J-lkp@intel.com>
Date: Tue, 29 Jun 2021 00:22:52 +0800
From: kernel test robot <lkp@...el.com>
To: Xu Liang <lxu@...linear.com>, andrew@...n.ch, hkallweit1@...il.com,
netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
vee.khee.wong@...ux.intel.com
Cc: kbuild-all@...ts.01.org, linux@...linux.org.uk,
hmehrtens@...linear.com, tmohren@...linear.com,
mohammad.athari.ismail@...el.com
Subject: Re: [PATCH v4 1/2] net: phy: add API to read 802.3-c45 IDs
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: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# 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
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/net/phy/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> 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
Download attachment ".config.gz" of type "application/gzip" (65250 bytes)
Powered by blists - more mailing lists