diff options
author | Jeffrin Jose <ahiliation@yahoo.co.in> | 2012-05-30 08:35:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 18:30:38 -0400 |
commit | fc8ef481df1bd6dac5d9c44b744f8050fcb6a5fe (patch) | |
tree | d498437f246cba0a437d135a873709c8c2144092 /drivers/usb/storage/protocol.c | |
parent | e463c6dda8f5ee0baa6a5400e45d300287339536 (diff) |
USB: storage: fixed space issues in coding style.
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>
Diffstat (limited to 'drivers/usb/storage/protocol.c')
-rw-r--r-- | drivers/usb/storage/protocol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/storage/protocol.c b/drivers/usb/storage/protocol.c index 82dd834709c7..5dfb4c36a1b0 100644 --- a/drivers/usb/storage/protocol.c +++ b/drivers/usb/storage/protocol.c | |||
@@ -66,7 +66,7 @@ void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us) | |||
66 | * NOTE: This only works because a scsi_cmnd struct field contains | 66 | * NOTE: This only works because a scsi_cmnd struct field contains |
67 | * a unsigned char cmnd[16], so we know we have storage available | 67 | * a unsigned char cmnd[16], so we know we have storage available |
68 | */ | 68 | */ |
69 | for (; srb->cmd_len<12; srb->cmd_len++) | 69 | for (; srb->cmd_len < 12; srb->cmd_len++) |
70 | srb->cmnd[srb->cmd_len] = 0; | 70 | srb->cmnd[srb->cmd_len] = 0; |
71 | 71 | ||
72 | /* send the command to the transport layer */ | 72 | /* send the command to the transport layer */ |
@@ -76,14 +76,14 @@ void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us) | |||
76 | void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) | 76 | void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) |
77 | { | 77 | { |
78 | /* fix some commands -- this is a form of mode translation | 78 | /* fix some commands -- this is a form of mode translation |
79 | * UFI devices only accept 12 byte long commands | 79 | * UFI devices only accept 12 byte long commands |
80 | * | 80 | * |
81 | * NOTE: This only works because a scsi_cmnd struct field contains | 81 | * NOTE: This only works because a scsi_cmnd struct field contains |
82 | * a unsigned char cmnd[16], so we know we have storage available | 82 | * a unsigned char cmnd[16], so we know we have storage available |
83 | */ | 83 | */ |
84 | 84 | ||
85 | /* Pad the ATAPI command with zeros */ | 85 | /* Pad the ATAPI command with zeros */ |
86 | for (; srb->cmd_len<12; srb->cmd_len++) | 86 | for (; srb->cmd_len < 12; srb->cmd_len++) |
87 | srb->cmnd[srb->cmd_len] = 0; | 87 | srb->cmnd[srb->cmd_len] = 0; |
88 | 88 | ||
89 | /* set command length to 12 bytes (this affects the transport layer) */ | 89 | /* set command length to 12 bytes (this affects the transport layer) */ |