opensbi/lib/utils
Heinrich Schuchardt 73344d4724 lib: utils: check correct value in fdt_node_offset_by_compatible
After calling fdt_node_offset_by_compatible() we must check its return
value and not an unrelated value.

Addresses-Coverity-ID: 1584993 Logically dead code
Fixes: 67ce5a763c ("platform: generic: Add support for specify coldboot harts in DT")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
2024-04-10 09:38:26 +05:30
..
fdt lib: utils: check correct value in fdt_node_offset_by_compatible 2024-04-10 09:38:26 +05:30
gpio gpio/starfive: redundant readl() call 2023-10-06 17:29:09 +05:30
i2c include: sbi_utils: Remove driver pointer from struct i2c_adapter 2023-07-31 14:09:06 +05:30
ipi lib: utils/timer: mtimer: only use regname for aclint 2023-12-27 11:57:33 +05:30
irqchip lib: sbi: Remove regs paramter of sbi_irqchip_process() 2024-03-19 11:31:33 +05:30
libfdt libfdt: fix SPDX license identifiers 2023-07-31 11:40:49 +05:30
libquad lib: utils: Drop dependency on libgcc by importing part of FreeBSD's libquad 2021-07-11 21:01:44 +05:30
regmap lib: utils/regmap: Mark syscon region as shared read-write 2023-09-24 17:14:26 +05:30
reset utils/reset: Remove fdt_reset_thead 2023-11-16 16:25:23 +05:30
serial lib: utils/serial: remove semihosting_putc 2023-11-17 16:03:24 +05:30
sys lib: utils/reset: Remove SiFive Test reset driver 2023-07-31 14:09:24 +05:30
timer lib: utils/timer: Optimize current hart scratch access 2024-04-05 17:34:24 +05:30
Kconfig lib: utils/regmap: Add generic regmap access library 2023-07-31 14:09:08 +05:30