diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2019-12-06 16:55:39 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-12-08 12:42:18 +0100 |
commit | dbd89c303b4420f6cdb689fd398349fc83b059dd (patch) | |
tree | 503691a6ff347fc6ce4b3840810ab23444edafe4 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 6fc3cec30dfeee7d3c5db8154016aff9d65503c5 (diff) |
efi/gop: Return EFI_SUCCESS if a usable GOP was found
If we've found a usable instance of the Graphics Output Protocol
(GOP) with a framebuffer, it is possible that one of the later EFI
calls fails while checking if any support console output. In this
case status may be an EFI error code even though we found a usable
GOP.
Fix this by explicitly return EFI_SUCCESS if a usable GOP has been
located.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Bhupesh Sharma <bhsharma@redhat.com>
Cc: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Cc: linux-efi@vger.kernel.org
Link: https://lkml.kernel.org/r/20191206165542.31469-4-ardb@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions