diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-07 10:28:43 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-12 08:38:09 -0400 |
commit | 9eace7f59ee4a37a678e4b57dc3fe532283f9226 (patch) | |
tree | 4458e22cb986868ab2d00325caea60502cf51577 /arch/xtensa/lib/time.c | |
parent | 9f95267271c0b6cff64c5ac1b308e1e0281e9e3a (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)
Diffstat (limited to 'arch/xtensa/lib/time.c')
0 files changed, 0 insertions, 0 deletions