USB: storage: fixed space issues in coding style.
authorJeffrin Jose <ahiliation@yahoo.co.in>
Wed, 30 May 2012 12:35:47 +0000 (18:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 22:30:38 +0000 (15:30 -0700)
Fixed space issues in coding style found by
checkpatch.pl tool in drivers/usb/storage/protocol.c

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

index 82dd834709c78f7627b82a53d5e268fb006744a2..5dfb4c36a1b0a2aeb55dd4863c33fae132d2ce7b 100644 (file)
@@ -66,7 +66,7 @@ void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us)
         * NOTE: This only works because a scsi_cmnd struct field contains
         * a unsigned char cmnd[16], so we know we have storage available
         */
-       for (; srb->cmd_len<12; srb->cmd_len++)
+       for (; srb->cmd_len < 12; srb->cmd_len++)
                srb->cmnd[srb->cmd_len] = 0;
 
        /* send the command to the transport layer */
@@ -76,14 +76,14 @@ void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us)
 void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us)
 {
        /* fix some commands -- this is a form of mode translation
-        * UFI devices only accept 12 byte long commands 
+        * UFI devices only accept 12 byte long commands
         *
         * NOTE: This only works because a scsi_cmnd struct field contains
         * a unsigned char cmnd[16], so we know we have storage available
         */
 
        /* Pad the ATAPI command with zeros */
-       for (; srb->cmd_len<12; srb->cmd_len++)
+       for (; srb->cmd_len < 12; srb->cmd_len++)
                srb->cmnd[srb->cmd_len] = 0;
 
        /* set command length to 12 bytes (this affects the transport layer) */
This page took 0.02735 seconds and 5 git commands to generate.