aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-08-09 17:13:58 -0600
committerAnup Patel <anup.patel@wdc.com>2019-08-12 09:23:28 +0530
commit6ddf71e6e90878ee107b0d9f98492ad27d31c73a (patch)
tree220bf987879a8c9b18b2165352fb738a25308c9d /firmware
parent3f738f5897a6694b8630d3a9c6751f49c3c7d540 (diff)
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions