The patch number 11227 was added via Mauro Carvalho Chehab <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <[email protected]>

------

From: Mauro Carvalho Chehab  <[email protected]>
ce6230: avoid using unitialized var


drivers/media/dvb/dvb-usb/ce6230.c: In function ?ce6230_i2c_xfer?:
drivers/media/dvb/dvb-usb/ce6230.c:107: warning: ?ret? may be used 
uninitialized in this function

Priority: normal

Signed-off-by: Mauro Carvalho Chehab <[email protected]>


---

 linux/drivers/media/dvb/dvb-usb/ce6230.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r cb31ea4e13ab -r 92d0b6b999d3 linux/drivers/media/dvb/dvb-usb/ce6230.c
--- a/linux/drivers/media/dvb/dvb-usb/ce6230.c  Thu Mar 26 12:24:46 2009 -0300
+++ b/linux/drivers/media/dvb/dvb-usb/ce6230.c  Thu Mar 26 12:26:48 2009 -0300
@@ -104,7 +104,7 @@ static int ce6230_i2c_xfer(struct i2c_ad
        struct dvb_usb_device *d = i2c_get_adapdata(adap);
        int i = 0;
        struct req_t req;
-       int ret;
+       int ret = 0;
        memset(&req, 0, sizeof(&req));
 
        if (num > 2)


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/92d0b6b999d36e9372818624ea9277d23bafb907

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to