All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] switch "random: fast init done" message from NOTICE to INFO.
@ 2020-10-24 10:39 Rob Landley
  0 siblings, 0 replies; only message in thread
From: Rob Landley @ 2020-10-24 10:39 UTC (permalink / raw)
  To: linux-kernel, Yangtao Li, Theodore Ts'o

From: Rob Landley <rob@landley.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@landley.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;
 }

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-24 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-24 10:39 [PATCH] switch "random: fast init done" message from NOTICE to INFO Rob Landley

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.