All of lore.kernel.org
 help / color / mirror / Atom feed
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 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
Date: Tue, 10 Sep 2024 13:33:22 +0800	[thread overview]
Message-ID: <202409101351.N0ApbRJC-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-09-10  5:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202409101351.N0ApbRJC-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.