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)
commit5d3034ab8faea229942e79d867d18722d5375b12
treeea1716ac2b44d1f3f7b1b463d7c8661776c28899
parent6d61ae9112960a2b3ed3360602dfb3bfd357954f
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