Re: randconfig build warnings in staging/iio/meter/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 15, 2014 at 10:25 AM, devendra.aaru <devendra.aaru@xxxxxxxxx> wrote:
> Hello,
>
> With next-20141215, i have got the following build warnings:
>
>
> 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]
> drivers/staging/iio/meter/ade7759.c:224:6: warning: ‘val’ may be used
> uninitialized in this function [-Wmaybe-uninitialized]
> drivers/staging/iio/meter/ade7759.c:309:6: warning: ‘val’ may be used
> uninitialized in this function [-Wmaybe-uninitialized]
>
> I have attached the randconfig file.
>
> The possible fix for ade7754.c is to check the return value of
> ade7754_spi_read_reg_8 function at line 222, and at line 368.
>
> The possible fix for ade7759.c is to check the return value of
> ade7759_spi_read_reg_16 function at line 224, and at line 309.

Hi,

Thanks for reporting! We are working on IIO cleanup project [1]
and we can take care of fixing this.

thanks,
Daniel.

[1] http://iiobits.wordpress.com/
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel





[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux