* [leon-rdma:devlink-core 13/19] drivers/net/ethernet/ti/am65-cpsw-nuss.c:2398:14: error: 'struct devlink_port' has no member named 'registered'
@ 2021-04-18 23:22 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-18 23:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3082 bytes --]
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/commit/?id=0a71812973423682fac4238aa83ae41a852ac73f
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@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@ti.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 76878 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-18 23:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-18 23:22 [leon-rdma:devlink-core 13/19] drivers/net/ethernet/ti/am65-cpsw-nuss.c:2398:14: error: 'struct devlink_port' has no member named 'registered' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.