projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff7795
)
powerpc/cacheinfo: Set pr_fmt()
author
Nathan Lynch
<nathanl@linux.ibm.com>
Thu, 27 Jun 2019 05:15:34 +0000
(
00:15
-0500)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 30 Jul 2020 01:36:45 +0000
(11:36 +1000)
Set pr_fmt() so we get a nice prefix on messages.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20190627051537.7298-2-nathanl@linux.ibm.com
arch/powerpc/kernel/cacheinfo.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/cacheinfo.c
b/arch/powerpc/kernel/cacheinfo.c
index d8d4552af30ad2fb58882b565ccc2a5425f4caf7..751a4ffcd588ba34b56610d1134ff35cb05fcfbd 100644
(file)
--- a/
arch/powerpc/kernel/cacheinfo.c
+++ b/
arch/powerpc/kernel/cacheinfo.c
@@
-7,6
+7,8
@@
* Author: Nathan Lynch
*/
+#define pr_fmt(fmt) "cacheinfo: " fmt
+
#include <linux/cpu.h>
#include <linux/cpumask.h>
#include <linux/kernel.h>