summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-07 16:28:44 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-12 12:38:10 (GMT)
commit4f414d392fb5d7c4ac547c4ee9f02b81648c00dd (patch)
treeb224d8442f1822a9c260f9d14e9b56ffe3fc0224 /drivers
parent9eace7f59ee4a37a678e4b57dc3fe532283f9226 (diff)
downloadu-boot-4f414d392fb5d7c4ac547c4ee9f02b81648c00dd.tar.xz
test: bus: Add a check that dev is not NULL
We know that uclass_get_device() and device_find_child_by_of_offset() do not return NULL for dev when they succeeds but coverity does not. Add an extra check to hopefully keep it happy. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163246) Fixes: 0753bc2 (dm: Simple Watchdog uclass)
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions