Re: [PATCH 3/5] riscv: fix riscv_of_processor_hartid() comment

From: Paul Walmsley
Date: Fri Jan 18 2019 - 20:46:58 EST


On Fri, 18 Jan 2019, Johan Hovold wrote:

> 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@xxxxxxxxxx>

Reviewed-by: Paul Walmsley <paul.walmsley@xxxxxxxxxx>


- Paul