diff options
| author | Sunil V L <[email protected]> | 2022-01-28 04:50:04 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2022-02-28 09:07:49 +0000 |
| commit | dcf0c838854c86e1f41fb1934aea906845d69782 (patch) | |
| tree | 18bd829d9db910ffec9a759b4114f52988eb1596 /lib/mpi/mpi-bit.c | |
| parent | efi: runtime: avoid EFIv2 runtime services on Apple x86 machines (diff) | |
| download | kernel-dcf0c838854c86e1f41fb1934aea906845d69782.tar.gz kernel-dcf0c838854c86e1f41fb1934aea906845d69782.zip | |
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: d7071743db31 ("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]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
