]> Git Repo - linux.git/commit
efi-bgrt: Add error handling; inform the user when ignoring the BGRT
authorJosh Triplett <[email protected]>
Wed, 30 Jul 2014 19:23:32 +0000 (12:23 -0700)
committerMatt Fleming <[email protected]>
Fri, 3 Oct 2014 17:40:58 +0000 (18:40 +0100)
commit1282278ee00b41f314d1bce058a6b28b1bd49c21
treec53701f6f931629699d4ec01373ebaa92ecc57e5
parent5a17dae422d7de4b776a9753cd4673a343a25b4b
efi-bgrt: Add error handling; inform the user when ignoring the BGRT

Gracefully handle failures to allocate memory for the image, which might
be arbitrarily large.

efi_bgrt_init can fail in various ways as well, usually because the
BIOS-provided BGRT structure does not match expectations.  Add
appropriate error messages rather than failing silently.

Reported-by: Srihari Vijayaraghavan <[email protected]>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81321
Signed-off-by: Josh Triplett <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
arch/x86/platform/efi/efi-bgrt.c
This page took 0.058654 seconds and 4 git commands to generate.