
13 Jun
2017
13 Jun
'17
12:43 a.m.
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 sjg@chromium.org Reported-by: Coverity (CID: 163246) Fixes: 0753bc2 (dm: Simple Watchdog uclass)
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom