diff options
Diffstat (limited to 'drivers/firmware/efi/efi.c')
-rw-r--r-- | drivers/firmware/efi/efi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 583e647912a5..4991371012b4 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c | |||
@@ -353,8 +353,9 @@ static __init int match_config_table(efi_guid_t *guid, | |||
353 | for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { | 353 | for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { |
354 | if (!efi_guidcmp(*guid, table_types[i].guid)) { | 354 | if (!efi_guidcmp(*guid, table_types[i].guid)) { |
355 | *(table_types[i].ptr) = table; | 355 | *(table_types[i].ptr) = table; |
356 | pr_cont(" %s=0x%lx ", | 356 | if (table_types[i].name) |
357 | table_types[i].name, table); | 357 | pr_cont(" %s=0x%lx ", |
358 | table_types[i].name, table); | ||
358 | return 1; | 359 | return 1; |
359 | } | 360 | } |
360 | } | 361 | } |