mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
f661c6f8c6
This patch (as1316) adds some error checking to usb_submit_urb(). It's conditional on CONFIG_USB_DEBUG, so it won't affect normal users. The new check makes sure that the actual type of the endpoint described by urb->pipe agrees with the type encoded in the pipe value. The USB error code documentation is updated to include the code returned by the new check, and the usbfs SUBMITURB handler is updated to use the correct pipe type when legacy user code tries to submit a bulk transfer to an interrupt endpoint. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
acm.txt | ||
anchors.txt | ||
authorization.txt | ||
callbacks.txt | ||
CREDITS | ||
dma.txt | ||
ehci.txt | ||
error-codes.txt | ||
gadget_printer.txt | ||
gadget_serial.txt | ||
hiddev.txt | ||
hotplug.txt | ||
iuu_phoenix.txt | ||
linux.inf | ||
misc_usbsevseg.txt | ||
mtouchusb.txt | ||
ohci.txt | ||
persist.txt | ||
power-management.txt | ||
proc_usb_info.txt | ||
rio.txt | ||
URB.txt | ||
usb-help.txt | ||
usb-serial.txt | ||
usbmon.txt | ||
wusb-cbaf | ||
WUSB-Design-overview.txt |