]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
fs/proc/vmcore: prefix all pr_* with "vmcore:"
authorDavid Hildenbrand <david@redhat.com>
Wed, 4 Dec 2024 12:54:35 +0000 (13:54 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Jan 2025 14:39:02 +0000 (09:39 -0500)
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>
fs/proc/vmcore.c

index 4a7bfdf037386e99818383add191d4f1618e7929..7511837d81a20a9975f7d02caa692ffe2041d173 100644 (file)
@@ -8,6 +8,8 @@
  *
  */
 
+#define pr_fmt(fmt) "vmcore: " fmt
+
 #include <linux/mm.h>
 #include <linux/kcore.h>
 #include <linux/user.h>
@@ -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);