[PATCH] soc: rockchip: power-domain: don't try to print the clock name in error case

Heiko Stübner heiko at sntech.de
Fri Oct 16 01:17:24 PDT 2015


Am Donnerstag, 15. Oktober 2015, 15:22:30 schrieb Heiko Stübner:
> When we never got the the clock-reference, i.e. when IS_ERR(clk) is true,
> don't try to print the clock name via %pC as this of course produces a
> null-pointer-dereference in __clk_get_name().
> 
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>

applied to my drivers branch with Caesar's Reviewed-tag.



More information about the linux-arm-kernel mailing list