Message ID | 20230808135702.628588-5-dlemoal@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Some minor cleanups | expand |
On 8/8/2023 6:57 AM, Damien Le Moal wrote: > 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> > --- Same as previous comment ... Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> -ck
On 8/8/23 15:57, Damien Le Moal wrote: > 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(+) > Reviewed-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
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.
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(+)