diff options
author | Arvind Sankar <[email protected]> | 2019-12-06 16:55:38 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-12-08 12:42:18 +0100 |
commit | 6fc3cec30dfeee7d3c5db8154016aff9d65503c5 (patch) | |
tree | cc2f89eb7d31146b0b2dc786ca40f824d31f742f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | ab0eb16205b43ece4c78e2259e681ff3d645ea66 (diff) |
efi/gop: Return EFI_NOT_FOUND if there are no usable GOPs
If we don't find a usable instance of the Graphics Output Protocol
(GOP) because none of them have a framebuffer (i.e. they were all
PIXEL_BLT_ONLY), but all the EFI calls succeeded, we will return
EFI_SUCCESS even though we didn't find a usable GOP.
Fix this by explicitly returning EFI_NOT_FOUND if no usable GOPs are
found, allowing the caller to probe for UGA instead.
Signed-off-by: Arvind Sankar <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Bhupesh Sharma <[email protected]>
Cc: Masayoshi Mizuma <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions