opensbi/lib/utils/irqchip
Jacob Garber 6ddf71e6e9 lib: Use correct type for return value
The error check 'plic_off < 0' does nothing, since plic_off is stored as
a u32. Fix this by changing it to an int, which matches the return type of
fdt_node_offset_by_compatible().

Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
2019-08-12 09:23:28 +05:30
..
objects.mk platform: Enable all drivers by default. 2019-06-19 09:49:05 +05:30
plic.c lib: Use correct type for return value 2019-08-12 09:23:28 +05:30