commit | 149820c6cf3cf51cd9dc1cf50cbe59b5b61e3909 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Jan 18 15:03:06 2019 +0100 |
committer | Palmer Dabbelt <palmer@sifive.com> | Mon Feb 11 15:35:21 2019 -0800 |
tree | 56bc070ccf3217d4558fd76c88304df99dda592e | |
parent | e1b1381b31793dde71eb87a78071c22c3f02f75c [diff] |
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: Johan Hovold <johan@kernel.org> Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>