[jimc:m-4 143/145] kernel/locking/lockdep.c:65:27: warning: 'lockdep_arena' defined but not used
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/jimc/linux.git m-4 head: 0036927f87d51d733bf100cae4e407fa21a2c3a6 commit: 42d80a3bc4214d8c2da60cf229926307ce4d78a4 [143/145] include/linux/folio_arena.h: Add !CONFIG_DYNAMIC_DEBUG_CORE stubs config: sparc-randconfig-r073-20260813 (https://download.01.org/0day-ci/archive/20260814/[email protected]/config) compiler: sparc64-linux-gcc (GCC) 11.5.0 smatch: v0.5.0-9187-g5189e3fb reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260814/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): >> kernel/locking/lockdep.c:65:27: warning: 'lockdep_arena' defined but not used [-Wunused-variable] 65 | static struct folio_arena lockdep_arena = | ^~~~~~~~~~~~~ vim +/lockdep_arena +65 kernel/locking/lockdep.c fbb9ce9530fd9b kernel/lockdep.c Ingo Molnar 2006-07-03 64 9bf38cbfe77419 kernel/locking/lockdep.c Jim Cromie 2026-08-11 @65 static struct folio_arena lockdep_arena = 9bf38cbfe77419 kernel/locking/lockdep.c Jim Cromie 2026-08-11 66 FOLIO_ARENA_INIT(lockdep_arena, sizeof(struct lock_list), 4); 9bf38cbfe77419 kernel/locking/lockdep.c Jim Cromie 2026-08-11 67 :::::: The code at line 65 was first introduced by commit :::::: 9bf38cbfe7741920b9ff7383eb840f7a70254f2c locking/lockdep: Fallback to folio_arena in alloc_list_entry when static pool is full :::::: TO: Jim Cromie <[email protected]> :::::: CC: Jim Cromie <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki