Skip to contentSkip to conversation

efi fix for 4.11

GIT PULL Thomas Gleixner 1 participant 1 message Apr 2, 2017 EFI

lore
Share & tools
lore
#0 lore raw

Linus,

please pull the latest efi-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-for-linus

Downgrade the missing ESRT header printk to warning level and remove a useless error printk which just generates noise for no value.

Thanks,

tglx

------------------>
Daniel Drake (1):
efi/esrt: Cleanup bad memory map log messages

 drivers/firmware/efi/efi.c  | 1 -
 drivers/firmware/efi/esrt.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/firmware/efi/efi.c +0 -1
index e7d404059b73..b372aad3b449 100644
@@ -389,7 +389,6 @@ int __init efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md)
 			return 0;
 		}
 	}
-	pr_err_once("requested map not found.\n");
 	return -ENOENT;
 }
 
drivers/firmware/efi/esrt.c +1 -1
index 08b026864d4e..8554d7aec31c 100644
@@ -254,7 +254,7 @@ void __init efi_esrt_init(void)
 
 	rc = efi_mem_desc_lookup(efi.esrt, &md);
 	if (rc < 0) {
-		pr_err("ESRT header is not in the memory map.\n");
+		pr_warn("ESRT header is not in the memory map.\n");
 		return;
 	}