On Sat, Jan 22, 2005 at 11:56:42AM -0500, Alan Stern wrote:
> +     switch (len) {          /* All cases fall through */
> +     default:
> +             len = 2 + ascii2utf (buf, data + 2, len - 2);
> +     case 2:
> +             data [1] = 3;   /* type == string */
> +     case 1:
> +             data [0] = 2 * (strlen (buf) + 1);
> +     case 0:
> +     }

This chunk of code does not compile for me at all :(

  CC [M]  drivers/usb/core/hcd.o
  drivers/usb/core/hcd.c: In function `rh_string':
  drivers/usb/core/hcd.c:334: error: label at end of compound statement
  

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to