This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] anysee: fix a warning
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Sat Oct 27 16:28:00 2012 -0300

drivers/media/usb/dvb-usb-v2/anysee.c:1179:5: warning: 'tmp' may be used 
uninitialized in this function [-Wmaybe-uninitialized]

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

 drivers/media/usb/dvb-usb-v2/anysee.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=03ad9fe4ce2881995b63e58a5518f6b8ff044e94

diff --git a/drivers/media/usb/dvb-usb-v2/anysee.c 
b/drivers/media/usb/dvb-usb-v2/anysee.c
index e78ca8f..d05c5b5 100644
--- a/drivers/media/usb/dvb-usb-v2/anysee.c
+++ b/drivers/media/usb/dvb-usb-v2/anysee.c
@@ -1170,7 +1170,7 @@ static int anysee_ci_poll_slot_status(struct 
dvb_ca_en50221 *ci, int slot,
        struct dvb_usb_device *d = ci->data;
        struct anysee_state *state = d_to_priv(d);
        int ret;
-       u8 tmp;
+       u8 tmp = 0;
 
        ret = anysee_rd_reg_mask(d, REG_IOC, &tmp, 0x40);
        if (ret)

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

Reply via email to