On Sun, 20 Mar 2005, David Brownell wrote:

> >   - gfile-0319 ... gets rid of most byteorder warnings from the
> >     file_storage gadget driver (except for SETUP packet fields)

This patch causes an undeclared variable error when verbose debugging is 
enabled.  Please add the following on top of it.

Alan Stern



Signed-off-by: Alan Stern <[EMAIL PROTECTED]>

--- a/drivers/usb/gadget/file_storage.c Mon Mar 21 10:33:17 2005
+++ b/drivers/usb/gadget/file_storage.c Mon Mar 21 10:39:23 2005
@@ -1344,7 +1344,7 @@
                        "unknown class-specific control req "
                        "%02x.%02x v%04x i%04x l%u\n",
                        ctrl->bRequestType, ctrl->bRequest,
-                       w_value, w_index, w_length);
+                       ctrl->wValue, w_index, w_length);
        return value;
 }
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to