diff options
author | Johan Hovold <johan@kernel.org> | 2019-01-18 15:03:06 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2019-02-11 15:35:21 -0800 |
commit | 149820c6cf3cf51cd9dc1cf50cbe59b5b61e3909 (patch) | |
tree | 56bc070ccf3217d4558fd76c88304df99dda592e /scripts/mod/file2alias.c | |
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>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions