diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 17:19:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 17:19:17 -0400 |
commit | 50f732ee63b91eb08a29974b36bd63e1150bb642 (patch) | |
tree | fdfc63411a34ffbe26a3b0a997aaeff742a0301b /drivers/usb/storage/libusual.c | |
parent | aa5bc2b58e3344da57f26b62e99e13e91c9e0a94 (diff) | |
parent | a7205b30106a2d4ee268132644cdb292da2d9b41 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (78 commits)
USB: update MAINAINERS and CREDITS for Freescale USB driver
USB: update gadget files for fsl_usb2_udc driver
USB: add Freescale high-speed USB SOC device controller driver
USB: quirk for broken suspend of IT8152F/G
USB: iowarrior.c: timeouts too small in usb_control_msg calls
USB: dell device id for option.c
USB: Remove Huawei unusual_devs entry
USB: CP2101 New Device IDs
USB: add picdem device to ldusb
usbfs micro optimitation
USB: remove ancient/broken CRIS hcd
usb ethernet gadget, workaround network stack API glitch
USB: add "busnum" attribute for USB devices
USB: cxacru: ADSL state management
usbatm: Detect usb device shutdown and ignore failed urbs
USB: Remove duplicate define of OHCI_QUIRK_ZFMICRO
USB: BandRich BandLuxe HSDPA Data Card Driver
USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug
USB Elan FTDI: check for driver registration status
USB: sierra: add more checks on shutdown
...
Diffstat (limited to 'drivers/usb/storage/libusual.c')
-rw-r--r-- | drivers/usb/storage/libusual.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/storage/libusual.c b/drivers/usb/storage/libusual.c index 599ad10a761b..06d1107dbd47 100644 --- a/drivers/usb/storage/libusual.c +++ b/drivers/usb/storage/libusual.c | |||
@@ -117,6 +117,7 @@ EXPORT_SYMBOL_GPL(usb_usual_check_type); | |||
117 | static int usu_probe(struct usb_interface *intf, | 117 | static int usu_probe(struct usb_interface *intf, |
118 | const struct usb_device_id *id) | 118 | const struct usb_device_id *id) |
119 | { | 119 | { |
120 | int rc; | ||
120 | unsigned long type; | 121 | unsigned long type; |
121 | struct task_struct* task; | 122 | struct task_struct* task; |
122 | unsigned long flags; | 123 | unsigned long flags; |
@@ -135,7 +136,7 @@ static int usu_probe(struct usb_interface *intf, | |||
135 | 136 | ||
136 | task = kthread_run(usu_probe_thread, (void*)type, "libusual_%d", type); | 137 | task = kthread_run(usu_probe_thread, (void*)type, "libusual_%d", type); |
137 | if (IS_ERR(task)) { | 138 | if (IS_ERR(task)) { |
138 | int rc = PTR_ERR(task); | 139 | rc = PTR_ERR(task); |
139 | printk(KERN_WARNING "libusual: " | 140 | printk(KERN_WARNING "libusual: " |
140 | "Unable to start the thread for %s: %d\n", | 141 | "Unable to start the thread for %s: %d\n", |
141 | bias_names[type], rc); | 142 | bias_names[type], rc); |