aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-07-19 21:47:25 -0400
committerIngo Molnar <mingo@kernel.org>2018-07-22 08:13:43 -0400
commite8f4194d9b98aa13f9f567a0056bbf683d2b1ab8 (patch)
treea466f705457ccff2f11992bac43f87469a887b74
parentaab9593c0cb4454f9d261a8c87a3361f3186c4ec (diff)
efi/cper: Use consistent types for UUIDs
The commit: 2f74f09bce4f ("efi: parse ARM processor error") ... brought inconsistency in UUID types which are used across the CPER. Fix this by moving to use guid_t API everywhere. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Lukas Wunner <lukas@wunner.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Tyler Baicar <tbaicar@codeaurora.org> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20180720014726.24031-9-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--drivers/firmware/efi/cper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/cper.c b/drivers/firmware/efi/cper.c
index b73fc4cab083..a7902fccdcfa 100644
--- a/drivers/firmware/efi/cper.c
+++ b/drivers/firmware/efi/cper.c
@@ -472,7 +472,7 @@ cper_estatus_print_section(const char *pfx, struct acpi_hest_generic_data *gdata
472 else 472 else
473 goto err_section_too_small; 473 goto err_section_too_small;
474#if defined(CONFIG_ARM64) || defined(CONFIG_ARM) 474#if defined(CONFIG_ARM64) || defined(CONFIG_ARM)
475 } else if (!uuid_le_cmp(*sec_type, CPER_SEC_PROC_ARM)) { 475 } else if (guid_equal(sec_type, &CPER_SEC_PROC_ARM)) {
476 struct cper_sec_proc_arm *arm_err = acpi_hest_get_payload(gdata); 476 struct cper_sec_proc_arm *arm_err = acpi_hest_get_payload(gdata);
477 477
478 printk("%ssection_type: ARM processor error\n", newpfx); 478 printk("%ssection_type: ARM processor error\n", newpfx);