* [jimc:dd-classmaps-v9-akpm 30/41] include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined
@ 2026-09-15 2:22 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-15 2:22 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git dd-classmaps-v9-akpm
head: bc05be3d2d3a71c95bbd0c24599f0bafcd5e7326
commit: 5959d9dd620041fe8451e9b2d2545b1084526432 [30/41] dyndbg-API: promote DYNAMIC_DEBUG_CLASSMAP_PARAM to API
config: x86_64-randconfig-161-20260915 (https://download.01.org/0day-ci/archive/20260915/202609150432.LZOVGeK3-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260915/202609150432.LZOVGeK3-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/202609150432.LZOVGeK3-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/kernel/asm-offsets.c:10:
In file included from include/crypto/aria.h:22:
In file included from include/linux/module.h:31:
>> include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined [-Wmacro-redefined]
519 | #define _DPRINTK_CLASSBITS_INIT 0U
| ^
include/linux/dynamic_debug.h:70:9: note: previous definition is here
70 | #define _DPRINTK_CLASSBITS_INIT ((_DPRINTK_FLAGS_DEFAULT & _DPRINTK_FLAGS_PRINT) ? ~0U : 0U)
| ^
1 warning generated.
--
>> clang diag: include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined [-Wmacro-redefined]
--
In file included from arch/x86/kernel/asm-offsets.c:10:
In file included from include/crypto/aria.h:22:
In file included from include/linux/module.h:31:
>> include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined [-Wmacro-redefined]
519 | #define _DPRINTK_CLASSBITS_INIT 0U
| ^
include/linux/dynamic_debug.h:70:9: note: previous definition is here
70 | #define _DPRINTK_CLASSBITS_INIT ((_DPRINTK_FLAGS_DEFAULT & _DPRINTK_FLAGS_PRINT) ? ~0U : 0U)
| ^
1 warning generated.
In file included from kernel/sched/rq-offsets.c:5:
In file included from kernel/sched/sched.h:31:
In file included from include/linux/cpufreq.h:12:
In file included from include/linux/cpu.h:17:
In file included from include/linux/node.h:18:
In file included from include/linux/device.h:32:
In file included from include/linux/device/driver.h:21:
In file included from include/linux/module.h:31:
>> include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined [-Wmacro-redefined]
519 | #define _DPRINTK_CLASSBITS_INIT 0U
| ^
include/linux/dynamic_debug.h:70:9: note: previous definition is here
70 | #define _DPRINTK_CLASSBITS_INIT ((_DPRINTK_FLAGS_DEFAULT & _DPRINTK_FLAGS_PRINT) ? ~0U : 0U)
| ^
1 warning generated.
llvm-nm: error: rust/helpers/helpers.o: No such file or directory
>> clang diag: include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined [-Wmacro-redefined]
>> clang diag: include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined [-Wmacro-redefined]
>> clang diag: include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined [-Wmacro-redefined]
vim +/_DPRINTK_CLASSBITS_INIT +519 include/linux/dynamic_debug.h
515
516 #if defined(DEBUG)
517 #define _DPRINTK_CLASSBITS_INIT ~0U
518 #else
> 519 #define _DPRINTK_CLASSBITS_INIT 0U
520 #endif
521
--
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-15 2:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-15 2:22 [jimc:dd-classmaps-v9-akpm 30/41] include/linux/dynamic_debug.h:519:9: warning: '_DPRINTK_CLASSBITS_INIT' macro redefined 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.