Skip to content
Commit 9dec2c1f authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 316601)
parent 37e79ee0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment