]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf43f81fcd218dbcc454087092b7b3f497a9289ce
tree6842f3fb50c13b2707ecb8f2b271b6c09f67e2d8
parent62fd6f9d8128052f2e46ca3e6a6b734dedb58026
USB: output an error message when the pipe type doesn't match the endpoint type

Commit 2a101213a8c8f1783b948b0af9e5af1443dec92f 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