linux/arch/riscv
Johan Hovold 149820c6cf
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>
2019-02-11 15:35:21 -08:00
..
boot RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00
configs RISC-V: defconfig: Add CRYPTO_DEV_VIRTIO=y 2019-01-23 14:09:01 -08:00
include riscv: Add pte bit to distinguish swap from invalid 2019-02-11 15:24:45 -08:00
kernel riscv: fix riscv_of_processor_hartid() comment 2019-02-11 15:35:21 -08:00
lib RISC-V: lib: minor asm cleanup 2018-12-21 08:17:02 -08:00
mm riscv: fixup max_low_pfn with PFN_DOWN. 2019-01-23 17:51:53 -08:00
Kconfig RISC-V: Kconfig: fix spelling mistake "traget" -> "target" 2019-01-23 12:56:20 -08:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Makefile RISC-V: Build flat and compressed kernel images 2018-11-20 05:19:09 -08:00