Re: [PATCH] ARM: spear: Fix error handling

From: Viresh Kumar
Date: Tue Nov 01 2016 - 22:26:01 EST


On Sat, Oct 29, 2016 at 7:28 PM, Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> arch/arm/mach-spear/time.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>