Re: [PATCH V2 1/2] iio: meter: ade7754: add error handling in _reset and _stop_device

2015-02-01 Thread Jonathan Cameron
On 05/01/15 05:57, sanjeev sharma wrote: > On Fri, Jan 2, 2015 at 2:32 PM, Devendra Naga wrote: >> This patch adds the error handling for the value returned from >> ade7754_spi_read_reg_8. With this patch, the following randconfig >> warnings get fixed automatically. >> >> drivers/staging/iio/mete

Re: [PATCH V2 1/2] iio: meter: ade7754: add error handling in _reset and _stop_device

2015-02-01 Thread Jonathan Cameron
On 05/01/15 06:12, devendra.aaru wrote: > On Sun, Jan 4, 2015 at 6:06 AM, Jonathan Cameron wrote: >> On 02/01/15 09:02, Devendra Naga wrote: >>> This patch adds the error handling for the value returned from >>> ade7754_spi_read_reg_8. With this patch, the following randconfig >>> warnings get fix

Re: [PATCH V2 1/2] iio: meter: ade7754: add error handling in _reset and _stop_device

2015-01-04 Thread devendra.aaru
On Sun, Jan 4, 2015 at 6:06 AM, Jonathan Cameron wrote: > On 02/01/15 09:02, Devendra Naga wrote: >> This patch adds the error handling for the value returned from >> ade7754_spi_read_reg_8. With this patch, the following randconfig >> warnings get fixed automatically. >> >> drivers/staging/iio/me

Re: [PATCH V2 1/2] iio: meter: ade7754: add error handling in _reset and _stop_device

2015-01-04 Thread sanjeev sharma
On Fri, Jan 2, 2015 at 2:32 PM, Devendra Naga wrote: > This patch adds the error handling for the value returned from > ade7754_spi_read_reg_8. With this patch, the following randconfig > warnings get fixed automatically. > > drivers/staging/iio/meter/ade7754.c:222:6: warning: ‘val’ may be used >

Re: [PATCH V2 1/2] iio: meter: ade7754: add error handling in _reset and _stop_device

2015-01-04 Thread Jonathan Cameron
On 02/01/15 09:02, Devendra Naga wrote: > This patch adds the error handling for the value returned from > ade7754_spi_read_reg_8. With this patch, the following randconfig > warnings get fixed automatically. > > drivers/staging/iio/meter/ade7754.c:222:6: warning: ‘val’ may be used > uninitialized

[PATCH V2 1/2] iio: meter: ade7754: add error handling in _reset and _stop_device

2015-01-02 Thread Devendra Naga
This patch adds the error handling for the value returned from ade7754_spi_read_reg_8. With this patch, the following randconfig warnings get fixed automatically. drivers/staging/iio/meter/ade7754.c:222:6: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/st