]> git.sur5r.net Git - u-boot/commit
arm: mvebu: avoid possible NULL dereference
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 30 Jul 2017 18:40:43 +0000 (20:40 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 13 Aug 2017 19:17:28 +0000 (15:17 -0400)
commita22bbfda6edd3cba79496b9d02077d5ae64ff4b0
treeda0cfad251fc7da7a4529d1e273355779c39f6ed
parenta5981734a4412eae6ac536c8bd50d3add665352f
arm: mvebu: avoid possible NULL dereference

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@gmx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c