Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value
The get_boot_hartid_from_fdt() function currently returns U32_MAX for failure case which is not correct because U32_MAX is a valid hartid value. This patch fixes the issue by returning error code. Cc: <[email protected]> Fixes: d707174 ("RISC-V: Add EFI stub support.") Signed-off-by: Sunil V L <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
- Loading branch information