mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +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);
|
node = fdt_node_offset_by_phandle(dtb, phandle);
|
||||||
if (ret != 0) {
|
if (node < 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue