Home
last modified time | relevance | path

Searched hist:"4 f414d39" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/test/dm/
H A Dbus.c4f414d39 Wed Jun 07 11:28:44 CDT 2017 Simon Glass <sjg@chromium.org> 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)