On Sun, Jan 4, 2015 at 6:06 AM, Jonathan Cameron <jic23@xxxxxxxxxx> 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/meter/ade7754.c:222:6: warning: ‘val’ may be used >> uninitialized in this function [-Wmaybe-uninitialized] >> drivers/staging/iio/meter/ade7754.c:368:6: warning: ‘val’ may be used >> uninitialized in this function [-Wmaybe-uninitialized] >> >> Signed-off-by: Devendra Naga <devendra.aaru@xxxxxxxxx> > Looks good to me. A Hartmut reviewed the original patch I'll leave it > a few days to see if he wants to take a look at the update. > > Thanks, > > Jonathan >> --- Thanks for the review Jonathan. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel