USB: output an error message when the pipe type doesn't match the endpoint type
authorSimon Arlott <simon@fire.lp0.eu>
Mon, 30 Aug 2010 21:50:20 +0000 (22:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:27 +0000 (10:21 -0700)
commitf7dd64916bb6cfae8c96eaa3c754c30b5046586f
tree6842f3fb50c13b2707ecb8f2b271b6c09f67e2d8
parent0cf7a6338808d702c256778188516a16805e6145
USB: output an error message when the pipe type doesn't match the endpoint type

Commit f661c6f8c67bd55e93348f160d590ff9edf08904 adds a check of the pipe type if
CONFIG_USB_DEBUG is enabled, but it doesn't output anything if this scenario
occurs.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/urb.c