Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [axboe:for-7.2/block 2/2] drivers/block/drbd/drbd_nl_gen.c:641:42: warning: unused variable 'drbd_nl_mcgrps'
@ 2026-05-10  1:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-10  1:29 UTC (permalink / raw)
  To: Christoph Böhmwalder ; +Cc: llvm, oe-kbuild-all, Jens Axboe

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git for-7.2/block
head:   8098eeb693c4cc4e774c62fbd4875197cb5578ce
commit: 8098eeb693c4cc4e774c62fbd4875197cb5578ce [2/2] drbd: replace genl_magic with explicit netlink serialization
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260510/202605100901.ZpHbtXME-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260510/202605100901.ZpHbtXME-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/202605100901.ZpHbtXME-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/block/drbd/drbd_nl_gen.c:641:42: warning: unused variable 'drbd_nl_mcgrps' [-Wunused-const-variable]
     641 | static const struct genl_multicast_group drbd_nl_mcgrps[] = {
         |                                          ^~~~~~~~~~~~~~
   1 warning generated.


vim +/drbd_nl_mcgrps +641 drivers/block/drbd/drbd_nl_gen.c

   640	
 > 641	static const struct genl_multicast_group drbd_nl_mcgrps[] = {
   642		[DRBD_NLGRP_EVENTS] = { "events", },
   643	};
   644	

-- 
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:[~2026-05-10  1:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-10  1:29 [axboe:for-7.2/block 2/2] drivers/block/drbd/drbd_nl_gen.c:641:42: warning: unused variable 'drbd_nl_mcgrps' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox