From: David Hildenbrand Date: Wed, 4 Dec 2024 12:54:35 +0000 (+0100) Subject: fs/proc/vmcore: prefix all pr_* with "vmcore:" X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8e386957cc2d1fb67b65937c771140c1c47445b1;p=linux.git 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 Message-Id: <20241204125444.1734652-5-david@redhat.com> Acked-by: Andrew Morton Signed-off-by: Michael S. Tsirkin --- diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 4a7bfdf03738..7511837d81a2 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c @@ -8,6 +8,8 @@ * */ +#define pr_fmt(fmt) "vmcore: " fmt + #include #include #include @@ -1580,7 +1582,7 @@ static int __init vmcore_init(void) rc = parse_crash_elf_headers(); if (rc) { elfcorehdr_free(elfcorehdr_addr); - pr_warn("Kdump: vmcore not initialized\n"); + pr_warn("not initialized\n"); return rc; } elfcorehdr_free(elfcorehdr_addr);