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

2016-11-07 Thread Olof Johansson
On Sat, Oct 29, 2016 at 03:58:39PM +0200, Christophe JAILLET 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 Applied to fixes-non-critical, thanks. -Olof

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

2016-11-07 Thread Olof Johansson
On Sat, Oct 29, 2016 at 03:58:39PM +0200, Christophe JAILLET 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 Applied to fixes-non-critical, thanks. -Olof

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

2016-11-01 Thread Viresh Kumar
On Sat, Oct 29, 2016 at 7:28 PM, Christophe JAILLET 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 > --- > arch/arm/mach-spear/time.c | 2

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

2016-11-01 Thread Viresh Kumar
On Sat, Oct 29, 2016 at 7:28 PM, Christophe JAILLET 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 > --- > arch/arm/mach-spear/time.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by:

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

2016-10-31 Thread Russell King - ARM Linux
For the spear or arm-soc guys to deal with... On Sat, Oct 29, 2016 at 03:58:39PM +0200, Christophe JAILLET 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 > --- >

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

2016-10-31 Thread Russell King - ARM Linux
For the spear or arm-soc guys to deal with... On Sat, Oct 29, 2016 at 03:58:39PM +0200, Christophe JAILLET 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 > --- > arch/arm/mach-spear/time.c | 2 +- >

[PATCH] ARM: spear: Fix error handling

2016-10-29 Thread Christophe JAILLET
'clk_get_sys()' returns an error pointer in case of error, not NULL. So test it with IS_ERR. Signed-off-by: Christophe JAILLET --- arch/arm/mach-spear/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-spear/time.c

[PATCH] ARM: spear: Fix error handling

2016-10-29 Thread Christophe JAILLET
'clk_get_sys()' returns an error pointer in case of error, not NULL. So test it with IS_ERR. Signed-off-by: Christophe JAILLET --- arch/arm/mach-spear/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-spear/time.c b/arch/arm/mach-spear/time.c index