diff options
author | Simon Glass <sjg@chromium.org> | 2021-05-13 19:39:24 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-15 18:42:05 -0400 |
commit | 9dec2c1f03922977725d14ebc89fdc05b1f32511 (patch) | |
tree | b36ad43c0f0c822303e5b513fda2b16f0e5da1cc /drivers/misc/cros_ec_sandbox.c | |
parent | 37e79ee0e8f93674a6247cf5c973920f18fd3578 (diff) |
dm: core: Check uclass_get() return value when dumping
Update dm_dump_drivers() to use the return value from uclass_get() to
check the validity of uc. This is equivalent and should be more attractive
to Coverity.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 316601)
Diffstat (limited to 'drivers/misc/cros_ec_sandbox.c')
0 files changed, 0 insertions, 0 deletions