Messages in this thread Patch in this message | | | Date | Wed, 26 Jan 2022 13:42:35 +0100 | From | Sebastian Andrzej Siewior <> | Subject | Re: [rt-devel:linux-5.16.y-rt-rebase 8/132] kernel/printk/printk.c:2628:2: error: implicit declaration of function 'boot_delay_msec' |
| |
On 2022-01-22 09:13:20 [+0800], kernel test robot wrote: … > kernel/printk/printk.c: In function 'console_emit_next_record': > >> kernel/printk/printk.c:2628:2: error: implicit declaration of function 'boot_delay_msec' [-Werror=implicit-function-declaration] > 2628 | boot_delay_msec(r.info->level); > | ^~~~~~~~~~~~~~~ > >> kernel/printk/printk.c:2629:2: error: implicit declaration of function 'printk_delay'; did you mean 'print_dev_t'? [-Werror=implicit-function-declaration] > 2629 | printk_delay(); > | ^~~~~~~~~~~~ > | print_dev_t > cc1: some warnings being treated as errors
I'm going to fold this in:
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 60c351afe7aa0..ae0cccf66b3cb 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2265,6 +2265,8 @@ static void console_lock_spinning_enable(void) { } static int console_lock_spinning_disable_and_check(void) { return 0; } static void call_console_driver(struct console *con, const char *text, size_t len) {} static bool suppress_message_printing(int level) { return false; } +static inline void boot_delay_msec(int level) { } +static inline void printk_delay(void) { } #endif /* CONFIG_PRINTK */ Sebastian
| |