Searched hist:"4 f414d392fb5d7c4ac547c4ee9f02b81648c00dd" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | bus.c | 4f414d392fb5d7c4ac547c4ee9f02b81648c00dd Wed Jun 07 16:28:44 UTC 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)
|