mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-08 13:53:54 +00:00
Merge "fix(allwinner): dtb: check for correct error condition" into integration
This commit is contained in:
commit
80cd7dd1bb
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ void sunxi_soc_fdt_fixup(void *dtb)
|
|||
}
|
||||
|
||||
node = fdt_node_offset_by_phandle(dtb, phandle);
|
||||
if (ret != 0) {
|
||||
if (node < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue