+9
−9
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:Johan Hovold <johan@kernel.org> Reviewed-by:
Paul Walmsley <paul.walmsley@sifive.com> Signed-off-by:
Palmer Dabbelt <palmer@sifive.com>