]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
USB: storage: fixed keyword related space issues.
authorJeffrin Jose <ahiliation@yahoo.co.in>
Wed, 16 May 2012 19:04:28 +0000 (00:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 May 2012 16:48:29 +0000 (09:48 -0700)
Fixed keyword related space issues found by
checkpatch.pl tool in drivers/usb/storage/usb.c

Signed-off-by: Jeffrin Jose <ahiliation@yahoo.co.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/usb.c

index 16d49da39459e70c51b70c1aaf70298c43432365..e23c30ab66dae92724f5f22adbcb56c5f59ff87a 100644 (file)
@@ -265,7 +265,7 @@ void fill_inquiry_response(struct us_data *us, unsigned char *data,
                return;
 
        memset(data+8, ' ', 28);
-       if(data[0]&0x20) { /* USB device currently not connected. Return
+       if (data[0]&0x20) { /* USB device currently not connected. Return
                              peripheral qualifier 001b ("...however, the
                              physical device is not currently connected
                              to this logical unit") and leave vendor and
@@ -298,7 +298,7 @@ static int usb_stor_control_thread(void * __us)
        struct us_data *us = (struct us_data *)__us;
        struct Scsi_Host *host = us_to_host(us);
 
-       for(;;) {
+       for (;;) {
                US_DEBUGP("*** thread sleeping.\n");
                if (wait_for_completion_interruptible(&us->cmnd_ready))
                        break;