Skip to content

Commit 8e38695

Browse files
davidhildenbrandmstsirkin
authored andcommitted
fs/proc/vmcore: prefix all pr_* with "vmcore:"
Let's use "vmcore: " as a prefix, converting the single "Kdump: vmcore not initialized" one to effectively be "vmcore: not initialized". Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Acked-by: Andrew Morton <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent 0f3b1c4 commit 8e38695

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fs/proc/vmcore.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
*
99
*/
1010

11+
#define pr_fmt(fmt) "vmcore: " fmt
12+
1113
#include <linux/mm.h>
1214
#include <linux/kcore.h>
1315
#include <linux/user.h>
@@ -1580,7 +1582,7 @@ static int __init vmcore_init(void)
15801582
rc = parse_crash_elf_headers();
15811583
if (rc) {
15821584
elfcorehdr_free(elfcorehdr_addr);
1583-
pr_warn("Kdump: vmcore not initialized\n");
1585+
pr_warn("not initialized\n");
15841586
return rc;
15851587
}
15861588
elfcorehdr_free(elfcorehdr_addr);

0 commit comments

Comments
 (0)