From: Paul Zimmerman Date: Wed, 26 Oct 2011 19:07:54 +0000 (-0700) Subject: usb: gadget: storage: check for valid USB_BULK_RESET_REQUEST wLength X-Git-Tag: v3.2-rc3~17^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce7b6121851c72d661134d113a78161095e0ae73;p=pandora-kernel.git usb: gadget: storage: check for valid USB_BULK_RESET_REQUEST wLength The USB-IF CV compliance tester is getting stricter, and it would be valid for it to fail a mass-storage device that accepts an invalid USB_BULK_RESET_REQUEST request. Although it doesn't do that yet, let's be proactive and fix that now. Suggested by Alan Stern. Signed-off-by: Paul Zimmerman Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed