commit | 7300a4d1676f0c929f6a41810f9bc43d4e5334eb | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Tue Jul 30 16:49:22 2024 +0100 |
committer | Andre Przywara <andre.przywara@arm.com> | Wed Jul 31 10:58:55 2024 +0100 |
tree | d33606b79e0be7c0b91792167a31fb51290ad4e0 | |
parent | 4bcf5b847c52f823c98b40ffdc11fa66a55eec79 [diff] |
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