diff options
author | 2019-01-18 15:03:06 +0100 | |
---|---|---|
committer | 2019-02-11 15:35:21 -0800 | |
commit | 149820c6cf3cf51cd9dc1cf50cbe59b5b61e3909 (patch) | |
tree | 56bc070ccf3217d4558fd76c88304df99dda592e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | riscv: use pr_info and friends (diff) | |
download | linux-dev-149820c6cf3cf51cd9dc1cf50cbe59b5b61e3909.tar.xz linux-dev-149820c6cf3cf51cd9dc1cf50cbe59b5b61e3909.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions