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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux