All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel/printk/printk.c:2131:14: error: conflicting types for 'printk_delay_msec'; have 'unsigned int'
@ 2026-07-06  2:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-06  2:49 UTC (permalink / raw)
  To: Andrew Murray; +Cc: oe-kbuild-all, 0day robot

tree:   https://github.com/intel-lab-lkp/linux/commits/Andrew-Murray/printk-remove-BOOT_PRINTK_DELAY-config-option/20260701-004359
head:   77bdeadc30ea25978d2e590405710ebc1c3ceee8
commit: 9723ebd13ec9e050081c95baace694bdea02bbae printk: deprecate boot_delay in favour of printk_delay
date:   5 days ago
config: x86_64-rhel-9.4-func (https://download.01.org/0day-ci/archive/20260706/202607060458.o2DoPl4f-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260706/202607060458.o2DoPl4f-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/202607060458.o2DoPl4f-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/printk/printk.c:2131:14: error: conflicting types for 'printk_delay_msec'; have 'unsigned int'
    2131 | unsigned int printk_delay_msec __read_mostly;
         |              ^~~~~~~~~~~~~~~~~
   In file included from include/asm-generic/bug.h:31,
                    from arch/x86/include/asm/bug.h:195,
                    from arch/x86/include/asm/alternative.h:9,
                    from arch/x86/include/asm/barrier.h:5,
                    from include/asm-generic/bitops/generic-non-atomic.h:7,
                    from include/linux/bitops.h:28,
                    from include/linux/kernel.h:23,
                    from kernel/printk/printk.c:22:
   include/linux/printk.h:191:12: note: previous declaration of 'printk_delay_msec' with type 'int'
     191 | extern int printk_delay_msec;
         |            ^~~~~~~~~~~~~~~~~


vim +2131 kernel/printk/printk.c

  2122	
  2123	/* Exit recursion tracking, restoring interrupts. */
  2124	#define printk_exit_irqrestore(recursion_ptr, flags)	\
  2125		do {						\
  2126			typecheck(u8 *, recursion_ptr);		\
  2127			(*(recursion_ptr))--;			\
  2128			local_irq_restore(flags);		\
  2129		} while (0)
  2130	
> 2131	unsigned int printk_delay_msec __read_mostly;
  2132	

--
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-07-06  2:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06  2:49 kernel/printk/printk.c:2131:14: error: conflicting types for 'printk_delay_msec'; have 'unsigned int' 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.