All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-5.10 2466/2466] drivers/net/ipvlan/ipvlan_main.c:14 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : ipvlan_table[2]->procname
@ 2024-11-23  3:53 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-11-23  3:53 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: Zheng Zengkai <zhengzengkai@huawei.com>

tree:   https://gitee.com/openeuler/kernel.git OLK-5.10
head:   812485619c8bb60a69ba8b132dca7b435e9c74ed
commit: bf16c102ee819442bb1a2248da1c0d9d7cec34d6 [2466/2466] ipvlan: Introduce local xmit queue for l2e mode
:::::: branch date: 25 hours ago
:::::: commit date: 2 years, 11 months ago
config: x86_64-randconfig-161-20241122 (https://download.01.org/0day-ci/archive/20241123/202411231144.WIYIO1tv-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0

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/202411231144.WIYIO1tv-lkp@intel.com/

smatch warnings:
drivers/net/ipvlan/ipvlan_main.c:14 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : ipvlan_table[2]->procname
drivers/net/ipvlan/ipvlan_main.c:14 (null)() warn: (struct ctl_table)->proc_handler cannot be NULL. Expression : ipvlan_table[2]->proc_handler

vim +14 drivers/net/ipvlan/ipvlan_main.c

bd73acb1ae5abc Keefe LIU 2021-12-27  12  
bf16c102ee8194 Keefe LIU 2021-12-27  13  static struct ctl_table_header *ipvlan_table_hrd;
bf16c102ee8194 Keefe LIU 2021-12-27 @14  static struct ctl_table ipvlan_table[] = {
bf16c102ee8194 Keefe LIU 2021-12-27  15  	{
bf16c102ee8194 Keefe LIU 2021-12-27  16  		.procname       = "loop_delay",
bf16c102ee8194 Keefe LIU 2021-12-27  17  		.data           = &sysctl_ipvlan_loop_delay,
bf16c102ee8194 Keefe LIU 2021-12-27  18  		.maxlen         = sizeof(int),
bf16c102ee8194 Keefe LIU 2021-12-27  19  		.mode           = 0644,
bf16c102ee8194 Keefe LIU 2021-12-27  20  		.proc_handler   = proc_dointvec,
bf16c102ee8194 Keefe LIU 2021-12-27  21  	},
bf16c102ee8194 Keefe LIU 2021-12-27  22  	{
bf16c102ee8194 Keefe LIU 2021-12-27  23  		.procname       = "loop_qlen",
bf16c102ee8194 Keefe LIU 2021-12-27  24  		.data           = &sysctl_ipvlan_loop_qlen,
bf16c102ee8194 Keefe LIU 2021-12-27  25  		.maxlen         = sizeof(int),
bf16c102ee8194 Keefe LIU 2021-12-27  26  		.mode           = 0644,
bf16c102ee8194 Keefe LIU 2021-12-27  27  		.proc_handler   = proc_dointvec,
bf16c102ee8194 Keefe LIU 2021-12-27  28  	},
bf16c102ee8194 Keefe LIU 2021-12-27  29  	{ }
bf16c102ee8194 Keefe LIU 2021-12-27  30  };
bf16c102ee8194 Keefe LIU 2021-12-27  31  

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [openeuler:OLK-5.10 2466/2466] drivers/net/ipvlan/ipvlan_main.c:14 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : ipvlan_table[2]->procname
@ 2024-11-28  0:10 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-11-28  0:10 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: Zheng Zengkai <zhengzengkai@huawei.com>

tree:   https://gitee.com/openeuler/kernel.git OLK-5.10
head:   68b0fb4e955465eef28bed1f5a252c4e6c636a36
commit: bf16c102ee819442bb1a2248da1c0d9d7cec34d6 [2466/2466] ipvlan: Introduce local xmit queue for l2e mode
:::::: branch date: 16 hours ago
:::::: commit date: 2 years, 11 months ago
config: x86_64-randconfig-161-20241122 (https://download.01.org/0day-ci/archive/20241128/202411280708.aOa0khuN-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0

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/202411280708.aOa0khuN-lkp@intel.com/

smatch warnings:
drivers/net/ipvlan/ipvlan_main.c:14 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : ipvlan_table[2]->procname
drivers/net/ipvlan/ipvlan_main.c:14 (null)() warn: (struct ctl_table)->proc_handler cannot be NULL. Expression : ipvlan_table[2]->proc_handler

vim +14 drivers/net/ipvlan/ipvlan_main.c

bd73acb1ae5abc Keefe LIU 2021-12-27  12  
bf16c102ee8194 Keefe LIU 2021-12-27  13  static struct ctl_table_header *ipvlan_table_hrd;
bf16c102ee8194 Keefe LIU 2021-12-27 @14  static struct ctl_table ipvlan_table[] = {
bf16c102ee8194 Keefe LIU 2021-12-27  15  	{
bf16c102ee8194 Keefe LIU 2021-12-27  16  		.procname       = "loop_delay",
bf16c102ee8194 Keefe LIU 2021-12-27  17  		.data           = &sysctl_ipvlan_loop_delay,
bf16c102ee8194 Keefe LIU 2021-12-27  18  		.maxlen         = sizeof(int),
bf16c102ee8194 Keefe LIU 2021-12-27  19  		.mode           = 0644,
bf16c102ee8194 Keefe LIU 2021-12-27  20  		.proc_handler   = proc_dointvec,
bf16c102ee8194 Keefe LIU 2021-12-27  21  	},
bf16c102ee8194 Keefe LIU 2021-12-27  22  	{
bf16c102ee8194 Keefe LIU 2021-12-27  23  		.procname       = "loop_qlen",
bf16c102ee8194 Keefe LIU 2021-12-27  24  		.data           = &sysctl_ipvlan_loop_qlen,
bf16c102ee8194 Keefe LIU 2021-12-27  25  		.maxlen         = sizeof(int),
bf16c102ee8194 Keefe LIU 2021-12-27  26  		.mode           = 0644,
bf16c102ee8194 Keefe LIU 2021-12-27  27  		.proc_handler   = proc_dointvec,
bf16c102ee8194 Keefe LIU 2021-12-27  28  	},
bf16c102ee8194 Keefe LIU 2021-12-27  29  	{ }
bf16c102ee8194 Keefe LIU 2021-12-27  30  };
bf16c102ee8194 Keefe LIU 2021-12-27  31  

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-28  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-23  3:53 [openeuler:OLK-5.10 2466/2466] drivers/net/ipvlan/ipvlan_main.c:14 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : ipvlan_table[2]->procname kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2024-11-28  0:10 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.