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/
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux