All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:dd-classmaps-v10b-akpm 30/40] include/linux/dynamic_debug.h:519: error: "_DPRINTK_CLASSBITS_INIT" redefined
@ 2026-09-15 19:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-15 19:52 UTC (permalink / raw)
  To: Jim Cromie,  Łukasz Bartosik; +Cc: oe-kbuild-all

tree:   https://github.com/jimc/linux.git dd-classmaps-v10b-akpm
head:   27e8ebc1c997eacd1d9221e0d313736244ae0db5
commit: 5959d9dd620041fe8451e9b2d2545b1084526432 [30/40] dyndbg-API: promote DYNAMIC_DEBUG_CLASSMAP_PARAM to API
config: alpha-randconfig-r051-20260915 (https://download.01.org/0day-ci/archive/20260915/202609152130.Vaq9IRTf-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260915/202609152130.Vaq9IRTf-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/202609152130.Vaq9IRTf-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/linux/module.h:31,
                    from lib/test_bitops.c:10:
>> include/linux/dynamic_debug.h:519: error: "_DPRINTK_CLASSBITS_INIT" redefined [-Werror]
     519 | #define _DPRINTK_CLASSBITS_INIT 0U
         | 
   include/linux/dynamic_debug.h:70: note: this is the location of the previous definition
      70 | #define _DPRINTK_CLASSBITS_INIT ((_DPRINTK_FLAGS_DEFAULT & _DPRINTK_FLAGS_PRINT) ? ~0U : 0U)
         | 
   cc1: all warnings being treated as errors


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 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-15 19:52 [jimc:dd-classmaps-v10b-akpm 30/40] include/linux/dynamic_debug.h:519: error: "_DPRINTK_CLASSBITS_INIT" 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.