[U-Boot] [U-Boot, 1/1] bcm281xx: clock: avoid possible NULL dereference

Tom Rini trini at konsulko.com
Mon Aug 14 00:07:16 UTC 2017


On Sun, Jul 30, 2017 at 08:27:16PM +0200, xypron.glpk at gmx.de wrote:

> It does not make sense first to dereference c and then
> to check if it is NULL.
> 
> The problem was indicated by cppcheck.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170813/8078fc17/attachment.sig>


More information about the U-Boot mailing list