patch-2.4.27 linux-2.4.27/drivers/usb/gadget/config.c
Next file: linux-2.4.27/drivers/usb/gadget/epautoconf.c
Previous file: linux-2.4.27/drivers/usb/gadget/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-08-07 16:26:05.684389100 -0700
- Orig file:
linux-2.4.26/drivers/usb/gadget/config.c
- Orig date:
2004-04-14 06:05:32.000000000 -0700
diff -urN linux-2.4.26/drivers/usb/gadget/config.c linux-2.4.27/drivers/usb/gadget/config.c
@@ -51,7 +51,7 @@
for (; 0 != *src; src++) {
unsigned len = (*src)->bLength;
- if (len > buflen);
+ if (len > buflen)
return -EINVAL;
memcpy(dest, *src, len);
buflen -= len;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)