]> git.sur5r.net Git - u-boot/commit
arm: bcm235xx: clk_set_rate avoid possible NULL deref
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 30 Jul 2017 18:22:47 +0000 (20:22 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 13 Aug 2017 19:17:27 +0000 (15:17 -0400)
commit65e8ce29e4efc7f1716828ec845bd294a942e1ca
treef62e4afd612fd7ef7fa81eabe07398c8b3e0bab3
parentb69a0849e75e5adff081d1f0f5557da03d703482
arm: bcm235xx: clk_set_rate avoid possible NULL deref

It does not make sense first to dereference c and then
to check if it is NULL.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/cpu/armv7/bcm235xx/clk-core.c