Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <david@redhat.com>
Message-Id: <20241204125444.1734652-5-david@redhat.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

authored by

David Hildenbrand and committed by
Michael S. Tsirkin
8e386957 0f3b1c40

+3 -1
+3 -1
fs/proc/vmcore.c
··· 8 8 * 9 9 */ 10 10 11 + #define pr_fmt(fmt) "vmcore: " fmt 12 + 11 13 #include <linux/mm.h> 12 14 #include <linux/kcore.h> 13 15 #include <linux/user.h> ··· 1582 1580 rc = parse_crash_elf_headers(); 1583 1581 if (rc) { 1584 1582 elfcorehdr_free(elfcorehdr_addr); 1585 - pr_warn("Kdump: vmcore not initialized\n"); 1583 + pr_warn("not initialized\n"); 1586 1584 return rc; 1587 1585 } 1588 1586 elfcorehdr_free(elfcorehdr_addr);