Searched hist:"7300 a4d1676f0c929f6a41810f9bc43d4e5334eb" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/allwinner/sun50i_h616/ |
| H A D | sunxi_h616_dtb.c | 7300a4d1676f0c929f6a41810f9bc43d4e5334eb Tue Jul 30 15:49:22 UTC 2024 Andre Przywara <andre.przywara@arm.com> fix(allwinner): dtb: check for correct error condition
In sunxi_soc_fdt_fixup(), we check for the value of "ret" again, after calling fdt_node_offset_by_phandle(), even though the error value of that lands in "node".
Check for "node" being non-negative instead, to properly detect any errors here.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Change-Id: I57c1406388dbe11d343038da173019519e18af3e
|