PATCH: fix gcc 3.1/2 warnings in USB

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 08 2002 - 14:05:33 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/usb/serial/keyspan.c linux.2.5.41-ac1/drivers/usb/serial/keyspan.c
--- linux.2.5.41/drivers/usb/serial/keyspan.c 2002-10-07 22:12:26.000000000 +0100
+++ linux.2.5.41-ac1/drivers/usb/serial/keyspan.c 2002-10-07 23:03:42.000000000 +0100
@@ -530,7 +530,7 @@
         if ((err = usb_submit_urb(urb, GFP_ATOMIC)) != 0) {
                 dbg("%s - resubmit read urb failed. (%d)", __FUNCTION__, err);
         }
-exit:
+exit: ;
 }
 
 static void usa26_glocont_callback(struct urb *urb)
@@ -665,7 +665,7 @@
         if ((err = usb_submit_urb(urb, GFP_ATOMIC)) != 0) {
                 dbg("%s - resubmit read urb failed. (%d)", __FUNCTION__, err);
         }
-exit:
+exit: ;
 }
 
 static void usa28_glocont_callback(struct urb *urb)
@@ -758,7 +758,7 @@
         if ((err = usb_submit_urb(urb, GFP_ATOMIC)) != 0) {
                 dbg("%s - resubmit read urb failed. (%d)", __FUNCTION__, err);
         }
-exit:
+exit: ;
 }
 
 static void usa49_inack_callback(struct urb *urb)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:26 EST