diff options
author | 2024-07-04 10:59:23 +0200 | |
---|---|---|
committer | 2024-07-08 10:17:45 +0200 | |
commit | fb318ca0a522295edd6d796fb987e99ec41f0ee5 (patch) | |
tree | 48164f2ce36edcde2865ca3b3da57bc89036c5e4 /scripts/generate_rust_analyzer.py | |
parent | x86/efistub: Call Apple set_os protocol on dual GPU Intel Macs (diff) | |
download | wireguard-linux-fb318ca0a522295edd6d796fb987e99ec41f0ee5.tar.xz wireguard-linux-fb318ca0a522295edd6d796fb987e99ec41f0ee5.zip |
x86/efistub: Avoid returning EFI_SUCCESS on error
The fail label is only used in a situation where the previous EFI API
call succeeded, and so status will be set to EFI_SUCCESS. Fix this, by
dropping the goto entirely, and call efi_exit() with the correct error
code.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions