From: Josh Triplett Date: Wed, 30 Jul 2014 19:23:32 +0000 (-0700) Subject: efi-bgrt: Add error handling; inform the user when ignoring the BGRT X-Git-Tag: fixes-against-v3.18-rc2~16^2^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1282278ee00b41f314d1bce058a6b28b1bd49c21;p=pandora-kernel.git 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 Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81321 Signed-off-by: Josh Triplett Signed-off-by: Matt Fleming --- Reading git-diff-tree failed