diff --git a/drivers/char/random.c b/drivers/char/random.c index a30c315f98a6..b8a8d4a71f9c 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1638,8 +1638,9 @@ static void _warn_unseeded_randomness(const char *func_name, void *caller, print_once = true; #endif if (__ratelimit(&unseeded_warning)) - pr_notice("random: %s called from %pS with crng_init=%d\n", - func_name, caller, crng_init); + printk_deferred(KERN_NOTICE "random: %s called from %pS " + "with crng_init=%d\n", func_name, caller, + crng_init); } /*