From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: [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
Date: Sat, 23 Nov 2024 11:53:17 +0800 [thread overview]
Message-ID: <202411231144.WIYIO1tv-lkp@intel.com> (raw)
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
next reply other threads:[~2024-11-23 3:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-23 3:53 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-28 0:10 [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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202411231144.WIYIO1tv-lkp@intel.com \
--to=lkp@intel.com \
--cc=error27@gmail.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.