All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] USB: misplaced parenthesis
@ 2010-02-15 22:40 Roel Kluin
  2010-02-15 22:44 ` Joe Perches
  0 siblings, 1 reply; 5+ messages in thread
From: Roel Kluin @ 2010-02-15 22:40 UTC (permalink / raw)
  To: Matthew Dharm, linux-usb, usb-storage, Andrew Morton, LKML

The parenthesis was misplaced

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
Is this maybe, as the comment states, why blanking a cdrw at speed 4
was unreliable?

diff --git a/drivers/usb/storage/shuttle_usbat.c b/drivers/usb/storage/shuttle_usbat.c
index b62a288..b958db5 100644
--- a/drivers/usb/storage/shuttle_usbat.c
+++ b/drivers/usb/storage/shuttle_usbat.c
@@ -1645,8 +1645,8 @@ static int usbat_hp8200e_transport(struct scsi_cmnd *srb, struct us_data *us)
 
 	if ((result = usbat_write_block(us,
 			USBAT_ATA, srb->cmnd, 12,
-				(srb->cmnd[0]==GPCMD_BLANK ? 75 : 10), 0) !=
-			     USB_STOR_TRANSPORT_GOOD)) {
+				(srb->cmnd[0]==GPCMD_BLANK ? 75 : 10), 0)) !=
+			     USB_STOR_TRANSPORT_GOOD) {
 		return result;
 	}
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-17 10:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 22:40 [PATCH] USB: misplaced parenthesis Roel Kluin
2010-02-15 22:44 ` Joe Perches
2010-02-16 11:16   ` Roel Kluin
2010-02-16 15:52     ` Alan Stern
2010-02-17 10:50       ` Roel Kluin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.