summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2009-04-29 16:02:18 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:44:44 -0700
commite05b8e6e1066e7583dbb6b00407508797b737995 (patch)
tree7e0a3445a7f7f3035202dfa666d30f759e28a932 /drivers/usb/serial
parentbf92c1906e4f294a48fafc15755c65af636195e0 (diff)
downloadblackbird-op-linux-e05b8e6e1066e7583dbb6b00407508797b737995.tar.gz
blackbird-op-linux-e05b8e6e1066e7583dbb6b00407508797b737995.zip
USB: janitor storage initializers
We all know that pointless janitoring is bad, but this code is just offensive. So: - The error code goes directly to probe return, so don't return -1. - Don't return return internal usb-storage codes either. - usb_stor_control_msg takes timeout in milliseconds. - Sanitize messages. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud