x86/efi: Preface all print statements with efi* tag
authorMatt Fleming <matt@codeblueprint.co.uk>
Sun, 25 Oct 2015 10:26:35 +0000 (10:26 +0000)
committerMatt Fleming <matt@codeblueprint.co.uk>
Mon, 14 Dec 2015 15:24:03 +0000 (15:24 +0000)
commit26d7f65fbd22168c33d2350f3e7e3021f5761256
treea224dd4735dbe6cd91f88ddf8e6ba0e03687ad15
parent3bb9eee61c64d8cd64814e582cf5d72095554473
x86/efi: Preface all print statements with efi* tag

The pr_*() calls in the x86 EFI code may or may not include a
subsystem tag, which makes it difficult to grep the kernel log for all
relevant EFI messages and leads users to miss important information.

Recently, a bug reporter provided all the EFI print messages from the
kernel log when trying to diagnose an issue but missed the following
statement because it wasn't prefixed with anything indicating it was
related to EFI,

  pr_err("Error ident-mapping new memmap (0x%lx)!\n", pa_memmap);

Cc: Borislav Petkov <bp@suse.de>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
arch/x86/platform/efi/efi-bgrt.c
arch/x86/platform/efi/efi_64.c
arch/x86/platform/efi/quirks.c
This page took 0.041347 seconds and 5 git commands to generate.