From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev, Daniel Wagner <wagi@monom.org>
Subject: [cip:linux-4.19.y-cip-rt 1968/30000] net/core/skbuff.c:334:30: warning: 'netdev_alloc_lock' defined but not used
Date: Sun, 3 Mar 2024 20:19:16 +0800 [thread overview]
Message-ID: <202403032015.0AbXidTk-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git linux-4.19.y-cip-rt
head: dcbd51e7744fcf9baa3ea87a028b574fda95d428
commit: c8148273578463d3f35129ff0a22c68cfdf6ad51 [1968/30000] net: Another local_irq_disable/kmalloc headache
config: arm-randconfig-002-20240303 (https://download.01.org/0day-ci/archive/20240303/202403032015.0AbXidTk-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240303/202403032015.0AbXidTk-lkp@intel.com/reproduce)
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>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403032015.0AbXidTk-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from net/core/skbuff.c:66:
>> net/core/skbuff.c:334:30: warning: 'netdev_alloc_lock' defined but not used [-Wunused-const-variable=]
334 | static DEFINE_LOCAL_IRQ_LOCK(netdev_alloc_lock);
| ^~~~~~~~~~~~~~~~~
include/linux/locallock.h:243:71: note: in definition of macro 'DEFINE_LOCAL_IRQ_LOCK'
243 | #define DEFINE_LOCAL_IRQ_LOCK(lvar) __typeof__(const int) lvar
| ^~~~
net/core/skbuff.c:5021: warning: Function parameter or member 'skb' not described in 'skb_gso_size_check'
vim +/netdev_alloc_lock +334 net/core/skbuff.c
331
332 static DEFINE_PER_CPU(struct page_frag_cache, netdev_alloc_cache);
333 static DEFINE_PER_CPU(struct napi_alloc_cache, napi_alloc_cache);
> 334 static DEFINE_LOCAL_IRQ_LOCK(netdev_alloc_lock);
335
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-03-03 12:19 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=202403032015.0AbXidTk-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tglx@linutronix.de \
--cc=wagi@monom.org \
/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.