summaryrefslogtreecommitdiffstats
path: root/gccdeps.py
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2021-03-09 14:49:35 +1100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-12-14 16:00:44 +0100
commita3fa0702c84d8cf0c9eed268b533043058c3711a (patch)
tree8d770856e21f3048efb2df265b77c473906002b1 /gccdeps.py
parentSet last_comp_version correctly in new dtb and fix potential version issues i... (diff)
downloadrtems-a3fa0702c84d8cf0c9eed268b533043058c3711a.tar.bz2
libfdt: Fix a possible "unchecked return value" warning
Apparently the unchecked return value of the first fdt_next_tag() call in fdt_add_subnode_namelen() is tripping Coverity Scan in some circumstances, although it appears not to for the scan on our project itself. This fdt_next_tag() should always return FDT_BEGIN_NODE, since otherwise the fdt_subnode_offset_namelen() above would have returned BADOFFSET or BADSTRUCTURE. Still, add a check to shut Coverity up, gated by a can_assume() to avoid bloat in small builds. Reported-by: Ryan Long <ryan.long@oarcorp.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'gccdeps.py')
0 files changed, 0 insertions, 0 deletions