commit | e05b8e6e1066e7583dbb6b00407508797b737995 | [log] [tgz] |
---|---|---|
author | Pete Zaitcev <zaitcev@redhat.com> | Wed Apr 29 16:02:18 2009 -0600 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jun 15 21:44:44 2009 -0700 |
tree | 7e0a3445a7f7f3035202dfa666d30f759e28a932 | |
parent | bf92c1906e4f294a48fafc15755c65af636195e0 [diff] |
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>