commit | 2e8faa21f7dc7bf119425492efc24c9d63a7cb71 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 07 10:28:43 2017 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 12 08:38:09 2017 -0400 |
tree | 4458e22cb986868ab2d00325caea60502cf51577 | |
parent | 4bc73ef6ce8e320d67a1bb411a330470248aa6be [diff] |
test: wdt: Add a check that dev is not NULL We know that uclass_get_device() does not return NULL for dev when it 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: 163247) Fixes: 0753bc2 (dm: Simple Watchdog uclass)