tree:
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git devlink-core
head: 84f6d5ca4cad2a2c56535c3c2c3134785250d975
commit: 0a71812973423682fac4238aa83ae41a852ac73f [13/19] devlink: Remove duplicated
registration check
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
#
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commi...
git remote add leon-rdma
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
git fetch --no-tags leon-rdma devlink-core
git checkout 0a71812973423682fac4238aa83ae41a852ac73f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/net/ethernet/ti/am65-cpsw-nuss.c: In function
'am65_cpsw_unregister_devlink_ports':
> drivers/net/ethernet/ti/am65-cpsw-nuss.c:2398:14: error:
'struct devlink_port' has no member named 'registered'
2398 |
if (dl_port->registered)
| ^~
vim +2398 drivers/net/ethernet/ti/am65-cpsw-nuss.c
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2387
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2388 static void
am65_cpsw_unregister_devlink_ports(struct am65_cpsw_common *common)
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2389 {
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2390 struct devlink_port *dl_port;
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2391 struct am65_cpsw_port *port;
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2392 int i;
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2393
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2394 for (i = 1; i <=
common->port_num; i++) {
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2395 port = am65_common_get_port(common,
i);
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2396 dl_port =
&port->devlink_port;
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2397
58356eb31d60dd Vignesh Raghavendra 2021-02-11 @2398 if (dl_port->registered)
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2399 devlink_port_unregister(dl_port);
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2400 }
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2401 }
58356eb31d60dd Vignesh Raghavendra 2021-02-11 2402
:::::: The code at line 2398 was first introduced by commit
:::::: 58356eb31d60dd8994e5067096ef1a09e4d9ceda net: ti: am65-cpsw-nuss: Add devlink
support
:::::: TO: Vignesh Raghavendra <vigneshr(a)ti.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org