Re: [RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-07-28 Thread Zhang Rui
On 二, 2016-07-05 at 12:22 -0400, Rhyland Klein wrote: > On 6/6/2016 12:53 PM, Rhyland Klein wrote: > > > > Check the return value of get_temp, which can fail. If it does, > > then > > unlock and return the error code. > > > > Signed-off-by: Rhyland Klein > > --- > >  

Re: [RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-07-28 Thread Zhang Rui
On 二, 2016-07-05 at 12:22 -0400, Rhyland Klein wrote: > On 6/6/2016 12:53 PM, Rhyland Klein wrote: > > > > Check the return value of get_temp, which can fail. If it does, > > then > > unlock and return the error code. > > > > Signed-off-by: Rhyland Klein > > --- > >  

Re: [RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-07-05 Thread Rhyland Klein
On 6/6/2016 12:53 PM, Rhyland Klein wrote: > Check the return value of get_temp, which can fail. If it does, then > unlock and return the error code. > > Signed-off-by: Rhyland Klein > --- > drivers/thermal/thermal_helpers.c | 4 > 1 file changed, 4 insertions(+) > >

Re: [RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-07-05 Thread Rhyland Klein
On 6/6/2016 12:53 PM, Rhyland Klein wrote: > Check the return value of get_temp, which can fail. If it does, then > unlock and return the error code. > > Signed-off-by: Rhyland Klein > --- > drivers/thermal/thermal_helpers.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-06-23 Thread Rhyland Klein
On 6/6/2016 12:53 PM, Rhyland Klein wrote: > Check the return value of get_temp, which can fail. If it does, then > unlock and return the error code. > > Signed-off-by: Rhyland Klein > --- > drivers/thermal/thermal_helpers.c | 4 > 1 file changed, 4 insertions(+) > >

Re: [RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-06-23 Thread Rhyland Klein
On 6/6/2016 12:53 PM, Rhyland Klein wrote: > Check the return value of get_temp, which can fail. If it does, then > unlock and return the error code. > > Signed-off-by: Rhyland Klein > --- > drivers/thermal/thermal_helpers.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

[RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-06-06 Thread Rhyland Klein
Check the return value of get_temp, which can fail. If it does, then unlock and return the error code. Signed-off-by: Rhyland Klein --- drivers/thermal/thermal_helpers.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/thermal/thermal_helpers.c

[RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-06-06 Thread Rhyland Klein
Check the return value of get_temp, which can fail. If it does, then unlock and return the error code. Signed-off-by: Rhyland Klein --- drivers/thermal/thermal_helpers.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/thermal/thermal_helpers.c