[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wn26vg3p.fsf@jogness.linutronix.de>
Date: Thu, 20 Apr 2023 15:33:22 +0206
From: John Ogness <john.ogness@...utronix.de>
To: Chris Down <chris@...isdown.name>, linux-kernel@...r.kernel.org
Cc: Petr Mladek <pmladek@...e.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Steven Rostedt <rostedt@...dmis.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>, kernel-team@...com
Subject: Re: [PATCH v4 1/2] printk: Do not delay messages which aren't
solicited by any console
On 2023-04-20, Chris Down <chris@...isdown.name> wrote:
> diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
> index fd0c9f913940..06f16a5f1516 100644
> --- a/kernel/printk/printk.c
> +++ b/kernel/printk/printk.c
> @@ -1289,15 +1289,13 @@ static int __init boot_delay_setup(char *str)
> }
> early_param("boot_delay", boot_delay_setup);
>
> -static void boot_delay_msec(int level)
> +static void boot_delay_msec(void)
> {
> unsigned long long k;
> unsigned long timeout;
>
> if ((boot_delay == 0 || system_state >= SYSTEM_RUNNING)
^----- you will need to remove this paren as well
> - || suppress_message_printing(level)) {
> return;
> - }
John Ogness
Powered by blists - more mailing lists