summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorRomain Gantois <romain.gantois@bootlin.com>2026-02-17 10:27:52 +0100
committerTom Rini <trini@konsulko.com>2026-03-03 10:34:45 -0600
commit39e1ccc777563d8c769531f1dfce24d38d023086 (patch)
treeb5371dff5d8247029db6ec20bf24acb4ec047075 /cmd
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 <raphael.gallais-pou@foss.st.com> Signed-off-by: Romain Gantois <romain.gantois@bootlin.com> Reviewed-by: Simon Glass <simon.glass@canonical.com>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions