]> git.baikalelectronics.ru Git - kernel.git/commit
USB: storage: fix misplaced parenthesis
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 17 Feb 2010 10:50:26 +0000 (11:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:55:08 +0000 (14:55 -0800)
commitbf8e6799186980d6d9fa2e96cf90dfcc171f3bdf
treeea1716ac2b44d1f3f7b1b463d7c8661776c28899
parent611ce50ac97091d74079180b15a45de88f23319b
USB: storage: fix misplaced parenthesis

Due to a misplaced parenthesis the usbat_write_block() return value was not
stored, but a boolean. USB_STOR_TRANSPORT_NO_SENSE and USB_STOR_TRANSPORT_ERROR
were returned as USB_STOR_TRANSPORT_FAILED.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Joe Perches <joe@perches.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/shuttle_usbat.c