Skip to content
Unverified Commit 149820c6 authored by Johan Hovold's avatar Johan Hovold Committed by Palmer Dabbelt
Browse files

riscv: fix riscv_of_processor_hartid() comment



The riscv_of_processor_hartid() helper returns -ENODEV when the
specified node isn't an enabled and valid RISC-V hart node.

Also drop the unnecessary parenthesis around errno defines.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Reviewed-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent e1b1381b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment