commit | 80cd7dd1bb7bcd79cbb9a91715cafc7cc1be665f | [log] [tgz] |
---|---|---|
author | André Przywara <andre.przywara@arm.com> | Wed Jul 31 18:35:49 2024 +0200 |
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | Wed Jul 31 18:35:49 2024 +0200 |
tree | 74a4b975c7b2452babde72723dd6f4afd6496396 | |
parent | 47add9d3ed41196a7560053f7be7b94012c7d4b6 [diff] | |
parent | 7300a4d1676f0c929f6a41810f9bc43d4e5334eb [diff] |
Merge "fix(allwinner): dtb: check for correct error condition" into integration
diff --git a/plat/allwinner/sun50i_h616/sunxi_h616_dtb.c b/plat/allwinner/sun50i_h616/sunxi_h616_dtb.c index ec49f4c..58bad53 100644 --- a/plat/allwinner/sun50i_h616/sunxi_h616_dtb.c +++ b/plat/allwinner/sun50i_h616/sunxi_h616_dtb.c
@@ -52,7 +52,7 @@ } node = fdt_node_offset_by_phandle(dtb, phandle); - if (ret != 0) { + if (node < 0) { return; }