ChangeSet 1.1608.84.13, 2004/03/09 17:25:33-08:00, david-b@pacbell.net [PATCH] USB: gadget config buf utilities Somehow I sent you a version of this code with a misplaced semicolon ... it makes for awkward failures! Please merge. Bad semicolon! drivers/usb/gadget/config.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c --- a/drivers/usb/gadget/config.c Tue Mar 16 15:03:07 2004 +++ b/drivers/usb/gadget/config.c Tue Mar 16 15:03:07 2004 @@ -52,7 +52,7 @@ for (; 0 != *src; src++) { unsigned len = (*src)->bLength; - if (len > buflen); + if (len > buflen) return -EINVAL; memcpy(dest, *src, len); buflen -= len;