From: kernel test robot <lkp@intel.com>
To: Andrew Murray <amurray@thegoodpenguin.co.uk>
Cc: oe-kbuild-all@lists.linux.dev, 0day robot <lkp@intel.com>
Subject: kernel/printk/printk.c:2131:14: error: conflicting types for 'printk_delay_msec'; have 'unsigned int'
Date: Mon, 06 Jul 2026 04:49:31 +0200 [thread overview]
Message-ID: <202607060458.o2DoPl4f-lkp@intel.com> (raw)
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
reply other threads:[~2026-07-06 2:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202607060458.o2DoPl4f-lkp@intel.com \
--to=lkp@intel.com \
--cc=amurray@thegoodpenguin.co.uk \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.