All of lore.kernel.org
 help / color / mirror / Atom feed
* [cip:linux-4.19.y-cip-rt 1968/30000] net/core/skbuff.c:334:30: warning: 'netdev_alloc_lock' defined but not used
@ 2024-03-03 12:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-03 12:19 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: oe-kbuild-all, Daniel Wagner

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

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

only message in thread, other threads:[~2024-03-03 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-03 12:19 [cip:linux-4.19.y-cip-rt 1968/30000] net/core/skbuff.c:334:30: warning: 'netdev_alloc_lock' defined but not used 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.