Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jeffrin Jose and committed by
Greg Kroah-Hartman
fc8ef481 e463c6dd

+3 -3
+3 -3
drivers/usb/storage/protocol.c
··· 66 66 * NOTE: This only works because a scsi_cmnd struct field contains 67 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 70 srb->cmnd[srb->cmd_len] = 0; 71 71 72 72 /* send the command to the transport layer */ ··· 76 76 void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) 77 77 { 78 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 81 * NOTE: This only works because a scsi_cmnd struct field contains 82 82 * a unsigned char cmnd[16], so we know we have storage available 83 83 */ 84 84 85 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 87 srb->cmnd[srb->cmd_len] = 0; 88 88 89 89 /* set command length to 12 bytes (this affects the transport layer) */