Merge "fix(allwinner): dtb: check for correct error condition" into integration

This commit is contained in:
André Przywara 2024-07-31 18:35:49 +02:00 committed by TrustedFirmware Code Review
commit 80cd7dd1bb

View file

@ -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;
}