All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-5.10 16958/30000] drivers/net/bonding/bond_sysctl.c:11 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : bond_broadcast_arp_or_nd_table[1]->procname
@ 2024-09-10  5:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-10  5:33 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: kernel@openeuler.org
TO: "openeuler-sync-bot" <openeuler.syncbot@gmail.com>

tree:   https://gitee.com/openeuler/kernel.git OLK-5.10
head:   49cb18ca62c5763a7eb26376e62a63172470762d
commit: 337eb92cdbafcc9ec159404e382d6254672948c2 [16958/30000] anolis: bond: broadcast ARP or ND messages to all slaves
:::::: branch date: 16 hours ago
:::::: commit date: 1 year, 2 months ago
config: x86_64-randconfig-161-20240906 (https://download.01.org/0day-ci/archive/20240910/202409101351.N0ApbRJC-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202409101351.N0ApbRJC-lkp@intel.com/

smatch warnings:
drivers/net/bonding/bond_sysctl.c:11 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : bond_broadcast_arp_or_nd_table[1]->procname
drivers/net/bonding/bond_sysctl.c:11 (null)() warn: (struct ctl_table)->proc_handler cannot be NULL. Expression : bond_broadcast_arp_or_nd_table[1]->proc_handler

vim +11 drivers/net/bonding/bond_sysctl.c

337eb92cdbafcc Tony Lu 2023-01-10  10  
337eb92cdbafcc Tony Lu 2023-01-10 @11  static struct ctl_table bond_broadcast_arp_or_nd_table[] = {
337eb92cdbafcc Tony Lu 2023-01-10  12  	{
337eb92cdbafcc Tony Lu 2023-01-10  13  		.procname	= "broadcast_arp_or_nd",
337eb92cdbafcc Tony Lu 2023-01-10  14  		.data		= &sysctl_bond_broadcast_arp_or_nd,
337eb92cdbafcc Tony Lu 2023-01-10  15  		.maxlen		= sizeof(int),
337eb92cdbafcc Tony Lu 2023-01-10  16  		.mode		= 0644,
337eb92cdbafcc Tony Lu 2023-01-10  17  		.proc_handler	= proc_dointvec,
337eb92cdbafcc Tony Lu 2023-01-10  18  	},
337eb92cdbafcc Tony Lu 2023-01-10  19  	{}
337eb92cdbafcc Tony Lu 2023-01-10  20  };
337eb92cdbafcc Tony Lu 2023-01-10  21  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-10  5:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-10  5:33 [openeuler:OLK-5.10 16958/30000] drivers/net/bonding/bond_sysctl.c:11 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : bond_broadcast_arp_or_nd_table[1]->procname 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.