[PATCH] ARM: spear: Fix error handling

Viresh Kumar viresh.kumar at linaro.org
Tue Nov 1 19:25:53 PDT 2016


On Sat, Oct 29, 2016 at 7:28 PM, Christophe JAILLET
<christophe.jaillet at wanadoo.fr> wrote:
> 'clk_get_sys()' returns an error pointer in case of error, not NULL. So
> test it with IS_ERR.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---
>  arch/arm/mach-spear/time.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>



More information about the linux-arm-kernel mailing list