Skip to content
Snippets Groups Projects
Commit 72c98ed1 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

fdt: Add a check to do_fdt() for coverity


We know that fdt_getprop() does not return NULL when len is > 0 but
coverity does not. Add an extra check to keep it happy.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 163249)
Fixes: bc80295b (fdt: Add get commands to fdt)
parent 96725153
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment