[PATCH v2 08/16] dm: core: Check uclass_get() return value when dumping

Tom Rini trini at konsulko.com
Fri Jul 16 17:51:44 CEST 2021


On Thu, May 13, 2021 at 07:39:24PM -0600, Simon Glass wrote:

> 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 at chromium.org>
> Reported-by: Coverity (CID: 316601)

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210716/17dacb3a/attachment.sig>


More information about the U-Boot mailing list