Skip to content

Commit

Permalink
random: harmonize "crng init done" messages
Browse files Browse the repository at this point in the history
We print out "crng init done" for !TRUST_CPU, so we should also print
out the same for TRUST_CPU.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
  • Loading branch information
Dominik Brodowski authored and Jason A. Donenfeld committed Jan 6, 2022
1 parent 57826fe commit 161212c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ static void __init crng_initialize_primary(struct crng_state *crng)
invalidate_batched_entropy();
numa_crng_init();
crng_init = 2;
pr_notice("crng done (trusting CPU's manufacturer)\n");
pr_notice("crng init done (trusting CPU's manufacturer)\n");
}
crng->init_time = jiffies - CRNG_RESEED_INTERVAL - 1;
}
Expand Down

0 comments on commit 161212c

Please sign in to comment.