]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
random: Add and use pr_fmt()
authorYangtao Li <tiny.windzz@gmail.com>
Fri, 7 Jun 2019 18:25:15 +0000 (14:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:46:28 +0000 (11:46 +0200)
commit8edfa1c6c05b18a1ab254e164575fedee456b210
tree5f66ebb8804504ba31de7a2d587dd4374a692d04
parent5088389a9158c4a6a26b787fb614e1dc9e2b1139
random: Add and use pr_fmt()

commit 12cd53aff5ea0359b1dac91fcd9ddc7b9e646588 upstream.

Prefix all printk/pr_<level> messages with "random: " to make the
logging a bit more consistent.

Miscellanea:

o Convert a printks to pr_notice
o Whitespace to align to open parentheses
o Remove embedded "random: " from pr_* as pr_fmt adds it

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Link: https://lore.kernel.org/r/20190607182517.28266-3-tiny.windzz@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c