From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91AD0C77B73 for ; Thu, 20 Apr 2023 13:29:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231366AbjDTN3b (ORCPT ); Thu, 20 Apr 2023 09:29:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbjDTN3Z (ORCPT ); Thu, 20 Apr 2023 09:29:25 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E5834680 for ; Thu, 20 Apr 2023 06:29:24 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1681997361; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uyb1MZ7NuV5vu+8jhZvnRspPxQmVwaXDLnhGv/qVF04=; b=HKVhhOIR1g0IW4CyBfC5Twn3/c4N2HxrfQRgHRGs0FqB9OT1g/2YQEFlRgyub85ZDCDVCQ V5DMLIDPsyxYyOT0cm5iv+dpe6tpAiiu39nyz6R8wGTvno/uh75Q4oKV3M151bMh/mL7cl elLLtPe1AJWg8dq1QZc6o/jIDvcB3cpPQ2uaAEfWqScGqClffy0o1BM9jCZ5xTxirCku4F xwrFbVEuefcipb+r0zfQvDstNP95Sg2c9wY2PaLlzytftK+S+ITvsaUtQT1fxph3EpGBcW 1MzN/VzO8AGqrizlggwyjhYdoa4e6kn32QW+h89rjcA8ajWPdK4igikYIfspoQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1681997361; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uyb1MZ7NuV5vu+8jhZvnRspPxQmVwaXDLnhGv/qVF04=; b=VEdHKK5Jr71Yq5zTcRjYeq1o0iMLHHUuDuLgCUgf2ZTwMthegftELuhV67RnNnlb1QaOAe hwLOrZBJoBwzhOAw== To: Chris Down , linux-kernel@vger.kernel.org Cc: Petr Mladek , Greg Kroah-Hartman , Sergey Senozhatsky , Steven Rostedt , Geert Uytterhoeven , kernel-team@fb.com Subject: Re: [PATCH v4 1/2] printk: Do not delay messages which aren't solicited by any console In-Reply-To: <43d7f8d6e4b45a1a76fceef2d117bbc3954bc0bf.1681994221.git.chris@chrisdown.name> References: <43d7f8d6e4b45a1a76fceef2d117bbc3954bc0bf.1681994221.git.chris@chrisdown.name> Date: Thu, 20 Apr 2023 15:33:22 +0206 Message-ID: <87wn26vg3p.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-04-20, Chris Down 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