Thread (12 messages) 12 messages, 7 authors, 2011-12-02
STALE5336d

[PATCH] i2c-mxs: fix compile warning in mxs_i2c_xfer()

From: Shawn Guo <hidden>
Date: 2011-11-24 08:24:51
Also in: linux-i2c

On Thu, Nov 24, 2011 at 09:00:04AM +0100, Wolfram Sang wrote:
On Thu, Nov 24, 2011 at 03:52:20PM +0800, Shawn Guo wrote:
quoted
  CC      drivers/i2c/busses/i2c-mxs.o
drivers/i2c/busses/i2c-mxs.c: In function ?mxs_i2c_xfer?:
drivers/i2c/busses/i2c-mxs.c:196:6: warning: ?data? may be used uninitialized in this function

Signed-off-by: Shawn Guo <redacted>
Which compiler? What flags? I don't see that here.
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3)

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j 2 zImage

-- 
Regards,
Shawn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help