]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/char/random.c
random: Add and use pr_fmt()
authorYangtao Li <tiny.windzz@gmail.com>
Fri, 7 Jun 2019 18:25:15 +0000 (14:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jan 2020 22:07:30 +0000 (17:07 -0500)
commit12cd53aff5ea0359b1dac91fcd9ddc7b9e646588
tree4ac70ed1dc4b2894a83377dbf5549740b2b3e053
parent12faac30d157970fdbfa171bbeb1fb88350303b1
random: Add and use pr_fmt()

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>
drivers/char/random.c