* [jimc:dd-classmaps-v9-akpm 27/40] lib/dynamic_debug.c:1492:13: warning: 'ddebug_table_free' defined but not used
@ 2026-09-10 21:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-10 21:55 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git dd-classmaps-v9-akpm
head: 2a850a9a6b701a3e47427395b1ac34c92e21f0ca
commit: fce78b7f456f7e2c306de600ea603e2017c4f2d5 [27/40] dyndbg: detect class_id reservation conflicts
config: microblaze-randconfig-r131-20260910 (https://download.01.org/0day-ci/archive/20260911/202609110513.znignNei-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 15.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260911/202609110513.znignNei-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/202609110513.znignNei-lkp@intel.com/
All warnings (new ones prefixed by >>):
lib/dynamic_debug.c: In function 'ddebug_sync_classbits':
lib/dynamic_debug.c:1274:47: error: '_DPRINTK_FLAGS_ACTIVE' undeclared (first use in this function)
1274 | init_bits = (_DPRINTK_FLAGS_DEFAULT & _DPRINTK_FLAGS_ACTIVE) ?
| ^~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:1274:47: note: each undeclared identifier is reported only once for each function it appears in
lib/dynamic_debug.c: At top level:
>> lib/dynamic_debug.c:1492:13: warning: 'ddebug_table_free' defined but not used [-Wunused-function]
1492 | static void ddebug_table_free(struct ddebug_table *dt)
| ^~~~~~~~~~~~~~~~~
vim +/ddebug_table_free +1492 lib/dynamic_debug.c
b48420c1d3019c Jim Cromie 2012-04-27 1491
e9d376f0fa66bd Jason Baron 2009-02-05 @1492 static void ddebug_table_free(struct ddebug_table *dt)
e9d376f0fa66bd Jason Baron 2009-02-05 1493 {
e9d376f0fa66bd Jason Baron 2009-02-05 1494 list_del_init(&dt->link);
e9d376f0fa66bd Jason Baron 2009-02-05 1495 kfree(dt);
e9d376f0fa66bd Jason Baron 2009-02-05 1496 }
e9d376f0fa66bd Jason Baron 2009-02-05 1497
:::::: The code at line 1492 was first introduced by commit
:::::: e9d376f0fa66bd630fe27403669c6ae6c22a868f dynamic debug: combine dprintk and dynamic printk
:::::: TO: Jason Baron <jbaron@redhat.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>
--
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-09-10 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-10 21:55 [jimc:dd-classmaps-v9-akpm 27/40] lib/dynamic_debug.c:1492:13: warning: 'ddebug_table_free' 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.