ChangeSet 1.2181.4.66, 2005/03/24 15:29:50-08:00, [EMAIL PROTECTED]

        [PATCH] USB: fix usb file_storage gadget sparse fixes [2/5]
        
        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.
        
        Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
        Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>



 file_storage.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/gadget/file_storage.c 
b/drivers/usb/gadget/file_storage.c
--- a/drivers/usb/gadget/file_storage.c 2005-03-30 15:18:10 -08:00
+++ b/drivers/usb/gadget/file_storage.c 2005-03-30 15:18:10 -08:00
@@ -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;
 }
 
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to