Re: [PATCH] i2c: i2c-mxs: Fix build warning

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

 



On Thu, Apr 5, 2012 at 5:16 PM, Wolfram Sang <w.sang@xxxxxxxxxxxxxx> wrote:
> On Thu, Apr 05, 2012 at 05:09:55PM -0300, Fabio Estevam wrote:
>> Fix the following build warning:
>>
>> drivers/i2c/busses/i2c-mxs.c:207:8: warning: 'data' may be used uninitialized in this function [-Wuninitialized]
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
>
> Do you agree with the compiler?

After looking at it carefully I conclude that is not possible for
'data' to be used uninitialized.
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux