[<prev] [next>] [day] [month] [year] [list]
Message-ID: <0de3a5be-8b61-9c99-422a-97c919ba73af@landley.net>
Date: Sat, 24 Oct 2020 05:39:53 -0500
From: Rob Landley <rob@...dley.net>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Yangtao Li <tiny.windzz@...il.com>,
Theodore Ts'o <tytso@....edu>
Subject: [PATCH] switch "random: fast init done" message from NOTICE to INFO.
From: Rob Landley <rob@...dley.net>
If you loglevel=4 you get zero kernel boot messages, but at loglevel=5
the shell prompt is overwritten on devices that boot to a serial console
a second after it comes up, and if the prompt is "#" it's easy to think the
boot's hung.
Signed-off-by: Rob Landley <rob@...dley.net>
---
drivers/char/random.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index d20ba1b104ca..91daf9113204 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -895,7 +895,7 @@ static int crng_fast_load(const char *cp, size_t len)
if (crng_init_cnt >= CRNG_INIT_CNT_THRESH) {
invalidate_batched_entropy();
crng_init = 1;
- pr_notice("fast init done\n");
+ pr_info("fast init done\n");
}
return 1;
}
Powered by blists - more mailing lists