summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRomain Gantois <[email protected]>2026-02-17 10:27:52 +0100
committerTom Rini <[email protected]>2026-03-03 10:34:45 -0600
commit39e1ccc777563d8c769531f1dfce24d38d023086 (patch)
treeb5371dff5d8247029db6ec20bf24acb4ec047075 /scripts/const_structs.checkpatch
parent8d24789abed0822fbe41a2f9d72cf19650159dc6 (diff)
dm: core: Don't allow ofnode_to_fdt() to return NULL
The ofnode_to_fdt() function may return a NULL pointer in multiple cases. Or, this function's return value is often passed directly to functions such as fdt_getprop() which end up dereferencing it, thus causing a NULL pointer exception. Don't allow ofnode_to_fdt() to return NULL, to avoid a NULL pointer dereference. Reviewed-by: RaphaĆ«l Gallais-Pou <[email protected]> Signed-off-by: Romain Gantois <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions