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] em28xx-cards: fix a warning
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Sat Oct 27 16:29:20 2012 -0300

drivers/media/usb/em28xx/em28xx-cards.c:3309:2: warning: comparison of unsigned 
expression >= 0 is always true [-Wtype-limits]

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

 drivers/media/usb/em28xx/em28xx-cards.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

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

diff --git a/drivers/media/usb/em28xx/em28xx-cards.c 
b/drivers/media/usb/em28xx/em28xx-cards.c
index bcd06e5..619bffb 100644
--- a/drivers/media/usb/em28xx/em28xx-cards.c
+++ b/drivers/media/usb/em28xx/em28xx-cards.c
@@ -3306,7 +3306,7 @@ static int em28xx_usb_probe(struct usb_interface 
*interface,
 
        dev->num_alt = interface->num_altsetting;
 
-       if ((card[nr] >= 0) && (card[nr] < em28xx_bcount))
+       if ((unsigned)card[nr] < em28xx_bcount)
                dev->model = card[nr];
 
        /* save our data pointer in this interface device */

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

Reply via email to