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@xxxxxxxxxx> --- 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