diff options
| author | Heinrich Schuchardt <[email protected]> | 2026-04-21 00:03:20 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2026-05-01 10:30:03 +0200 |
| commit | 257f9f52738641f8981b3ccb17d56567d145a084 (patch) | |
| tree | 80292dc79e9d49f496add4843b811e4a33a504f3 /lib | |
| parent | 96b33427eae16b7c49dfa5f596506dbe5d84c2ff (diff) | |
efi_loader: correct efi_binary_run_dp() return value
efi_binary_run_dp() is expected to return an efi_status_t value.
Reported-by: Simon Glass <[email protected]>
Fixes: 6422820ac3e5 ("efi_loader: split unrelated code from efi_bootmgr.c")
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/efi_loader/efi_bootbin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_bootbin.c b/lib/efi_loader/efi_bootbin.c index b394f0d60ce..144266b785f 100644 --- a/lib/efi_loader/efi_bootbin.c +++ b/lib/efi_loader/efi_bootbin.c @@ -227,7 +227,7 @@ static efi_status_t efi_binary_run_dp(void *image, size_t size, void *fdt, if (ret != EFI_SUCCESS) { log_err("Error: Cannot initialize UEFI sub-system, r = %lu\n", ret & ~EFI_ERROR_MASK); - return -1; + return ret; } ret = efi_install_fdt(fdt); |
