On Wed, Jun 07, 2017 at 10:28:44AM -0600, Simon Glass wrote:

> 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 <s...@chromium.org>
> Reported-by: Coverity (CID: 163246)
> Fixes: 0753bc2 (dm: Simple Watchdog uclass)

Reviewed-by: Tom Rini <tr...@konsulko.com>

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to