From: Hans de Goede Subject: [PATCH 2/2] efi/efi_mem_desc_lookup: Not finding a descriptor is not an error Date: Mon, 27 Feb 2017 10:52:10 +0100 Message-ID: <20170227095210.3619-2-hdegoede@redhat.com> References: <20170227095210.3619-1-hdegoede@redhat.com> Return-path: In-Reply-To: <20170227095210.3619-1-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming , Ard Biesheuvel Cc: Hans de Goede , Peter Jones , linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-efi@vger.kernel.org Some descriptors (like ESRT) simply just are not there on many machines, since all callers of efi_mem_desc_lookup already print a message on failure complete drop the pr_err call. Signed-off-by: Hans de Goede --- drivers/firmware/efi/efi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 9291480..8c3ebcb 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -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; } -- 2.9.3