All of lore.kernel.org
 help / color / mirror / Atom feed
From: Damien Le Moal <dlemoal@kernel.org>
To: Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org
Subject: [PATCH 4/5] block: Improve efi partition debug messages
Date: Tue,  8 Aug 2023 22:57:01 +0900	[thread overview]
Message-ID: <20230808135702.628588-5-dlemoal@kernel.org> (raw)
In-Reply-To: <20230808135702.628588-1-dlemoal@kernel.org>

Add the missing definition of pr_fmt to prefix the debug messages from
partitions/efi.c with "partition: efi: ".

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
---
 block/partitions/efi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/block/partitions/efi.c b/block/partitions/efi.c
index 5e9be13a56a8..33fe70282e38 100644
--- a/block/partitions/efi.c
+++ b/block/partitions/efi.c
@@ -90,6 +90,9 @@
 #include "check.h"
 #include "efi.h"
 
+#undef pr_fmt
+#define pr_fmt(fmt) "partition: efi: " fmt
+
 /* This allows a kernel command line option 'gpt' to override
  * the test for invalid PMBR.  Not __initdata because reloading
  * the partition tables happens after init too.
-- 
2.41.0


  parent reply	other threads:[~2023-08-08 17:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-08 13:56 [PATCH 0/5] Some minor cleanups Damien Le Moal
2023-08-08 13:56 ` [PATCH 1/5] block: use PAGE_SECTORS_SHIFT to set limits Damien Le Moal
2023-08-09  2:04   ` Chaitanya Kulkarni
2023-08-09  6:07   ` Hannes Reinecke
2023-08-15 10:00   ` Johannes Thumshirn
2023-08-08 13:56 ` [PATCH 2/5] block: use pr_xxx() instead of printk() Damien Le Moal
2023-08-09  2:06   ` Chaitanya Kulkarni
2023-08-09  6:08   ` Hannes Reinecke
2023-08-15 10:01   ` Johannes Thumshirn
2023-08-08 13:57 ` [PATCH 3/5] block: use pr_xxx() instead of printk() in partition code Damien Le Moal
2023-08-09  2:07   ` Chaitanya Kulkarni
2023-08-09  3:42     ` Damien Le Moal
2023-08-09  6:09   ` Hannes Reinecke
2023-08-15 10:02   ` Johannes Thumshirn
2023-08-08 13:57 ` Damien Le Moal [this message]
2023-08-09  2:07   ` [PATCH 4/5] block: Improve efi partition debug messages Chaitanya Kulkarni
2023-08-09  6:09   ` Hannes Reinecke
2023-08-15 10:03   ` Johannes Thumshirn
2023-08-08 13:57 ` [PATCH 5/5] block: switch ldm partition code to use pr_xxx() functions Damien Le Moal
2023-08-09  2:08   ` Chaitanya Kulkarni
2023-08-09  6:10   ` Hannes Reinecke
2023-08-15 10:06   ` Johannes Thumshirn
2023-08-15 12:41     ` Damien Le Moal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230808135702.628588-5-dlemoal@kernel.org \
    --to=dlemoal@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.