[U-Boot] [U-Boot, 1/1] arm: mvebu: avoid possible NULL dereference

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


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

> It does not make sense to check if info is NULL after
> dereferencing it.
> 
> The problem was indicated by cppcheck.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Stefan Roese <sr at denx.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/786d2f75/attachment.sig>


More information about the U-Boot mailing list