From patchwork Wed Dec 4 12:54:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Hildenbrand X-Patchwork-Id: 13893740 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72C841E25E3 for ; Wed, 4 Dec 2024 12:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733316905; cv=none; b=tS+ET41RD3C477eAJVPiCBlOpC76D5NAtAkxWlpSKK+fqcf2rt8PsixRRSaUaWU40AucSVTewwRwqHT+RG9Zf8na8UU3rYp+XMB3yfrqYNxn6cyPjgPOI+qA0HMkijxepXAVJAf8Oy8T8cvLbFTRsM1UnvwFcgn3PqVZCOGRlA4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733316905; c=relaxed/simple; bh=BgMJzD3uvTJhEKjQ1/IdIeY2entK2KsTWNxYBemJ1qE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=anvpoDbz3eMIiOcJiVImfNGM/fLPPzE7YntC/GUR7nzii5gaUQw3D7N/4BlnL/z0RivXP42ACeEocYpBDvSyrzQHcGsml8UTw1GGGH5yapRNXJ4+ZqzYqjFp2IYCaNfCpJac6V0uRWs247mSnD5qvPxpAXwmfLk9YKkI1tGTNgk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=GW5FMw+a; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GW5FMw+a" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1733316902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WYRTkbcHet+ClCO8Q7Li/qxr/6/P0nWlLIIrfww7Knk=; b=GW5FMw+auNEG6EXHPF67S/0tV49wAULCi+mreQUSFeALvtdoZnysb8nz7ceYBWJX8tboi6 6THrdZYOxdNTeB8XtoD4xUNnG2si2Oi+iP0khCca39ZyoeLPibNnGcrLKfPpZzVaGt+q1r MYrncwTcwGvU1JJON8ONB/E8ruFTBgU= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-651-sEsBd3W2NS2-HgG7mD0Ogw-1; Wed, 04 Dec 2024 07:55:01 -0500 X-MC-Unique: sEsBd3W2NS2-HgG7mD0Ogw-1 X-Mimecast-MFC-AGG-ID: sEsBd3W2NS2-HgG7mD0Ogw Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-43499388faaso47930025e9.3 for ; Wed, 04 Dec 2024 04:55:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733316900; x=1733921700; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WYRTkbcHet+ClCO8Q7Li/qxr/6/P0nWlLIIrfww7Knk=; b=nXssDJ2O3B4ZNIOYKL9b5TK4ig52XZBpoKTml2jJiSbv3ttcyjnB/h4P9kiOxbxqZq +ghzxHqFk+v+6r6U8xfL8W5x3Ld1CX3Exs1K74yLg+wl/4wKaeD7tAVlOn1iSBW9Wtw8 WUZuz48JesrIDrkpFtHK/Iri4fEmMa6UVZDZ++AA424LJ+0ltIRR6U2Ef3VX653/G7ax L3o4nl04voj3RNbDNIVd61b8qXYvk3/sArKB3rM3wCx4XMAT6SXv3N3LkkK1WIwiKZSY C3Rr8ZjQVR5ZLVuGhGPIzkO/a8iRCqpb77DzDRn5hsyrguWYKPj1S550iroQMNcgoXQ/ jMUg== X-Forwarded-Encrypted: i=1; AJvYcCWeuJR7UsDWvEroZQo3jgHFK/btoxOvNFvk00SzCDduS/13kcBcNSmZwKPSvPaJlhgz73M=@vger.kernel.org X-Gm-Message-State: AOJu0YyOZYVsQvKN0dj9iagMaqFfoDRM0p5OdufnWxoklDaMUNjY8PwP Wnh/ZXDBqyV9LJ2DofUFF7S99s1YVl2zrE7cG72U5JNglT+GyCnr9/TPX6XVLRGGwQ4Wwu0Owp0 6aejywYRBEDvCBC44EZtFiiX/yOv+hpmDeAzDreWatb17jOoEHQ== X-Gm-Gg: ASbGncvDL7Tuq98slVhln+gzAT/gTpap6nbH1tDgheJAeFqjP7l5q1idEUc7AedmxUL biePoQYwDhkgMahqlxjCEcEgd0yUOi6Tbf3QyWbOahmTqQimVu2RGr8mC0NmtVJwdjwlVGS8Vx7 Kjp1d/gAmrbjCG9wOkaJFqfJdS4YT3GQBLQAwtPoHKFEh8FYfRAGEuhb9Ns82oo39ZLCSlBGC8h P6m9j/R4jNuyp6a1S74S9MV+VGnwig0dOhU/p70JSvRH+rJJcS7Hu+h89fZFRvD7qxnrlS2mA9D qyXeAzN9+rK6oqa+pG3Hrm4YZDVGpDhD44k= X-Received: by 2002:a5d:6c62:0:b0:385:f677:85af with SMTP id ffacd0b85a97d-385fd53ee5fmr5431766f8f.47.1733316900261; Wed, 04 Dec 2024 04:55:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkIZLfFS9dd4mzise8YhuqVkFTd47qC7aw9US3336mGUo5e0+UH/rIIT1Petk2to7fPbudFQ== X-Received: by 2002:a5d:6c62:0:b0:385:f677:85af with SMTP id ffacd0b85a97d-385fd53ee5fmr5431725f8f.47.1733316899810; Wed, 04 Dec 2024 04:54:59 -0800 (PST) Received: from localhost (p200300cbc70be10038d68aa111b0a20a.dip0.t-ipconnect.de. [2003:cb:c70b:e100:38d6:8aa1:11b0:a20a]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-385ccd2e1bdsm18785865f8f.9.2024.12.04.04.54.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Dec 2024 04:54:58 -0800 (PST) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-s390@vger.kernel.org, virtualization@lists.linux.dev, kvm@vger.kernel.org, linux-fsdevel@vger.kernel.org, kexec@lists.infradead.org, David Hildenbrand , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , =?utf-8?q?Eugenio_P=C3=A9rez?= , Baoquan He , Vivek Goyal , Dave Young , Thomas Huth , Cornelia Huck , Janosch Frank , Claudio Imbrenda , Eric Farman , Andrew Morton Subject: [PATCH v2 04/12] fs/proc/vmcore: prefix all pr_* with "vmcore:" Date: Wed, 4 Dec 2024 13:54:35 +0100 Message-ID: <20241204125444.1734652-5-david@redhat.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241204125444.1734652-1-david@redhat.com> References: <20241204125444.1734652-1-david@redhat.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 --- fs/proc/vmcore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 16faabe5ea30..13dfc128d07e 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);