scsi: osst: add missing indent on a for loop statement
authorColin Ian King <colin.king@canonical.com>
Tue, 15 Aug 2017 14:08:28 +0000 (15:08 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:00 +0000 (22:29 -0400)
The for loop is statement is missing an indent, add it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/osst.c

index 97ab5f160bc62310f0e7ff3971be1f6acd1cac00..241908aca46850c435b05ffa1dfb4840f92c0399 100644 (file)
@@ -5434,7 +5434,7 @@ static int append_to_buffer(const char __user *ubp, struct osst_buffer *st_bp, i
 
        for (i=0, offset=st_bp->buffer_bytes;
             i < st_bp->sg_segs && offset >= st_bp->sg[i].length; i++)
-       offset -= st_bp->sg[i].length;
+               offset -= st_bp->sg[i].length;
        if (i == st_bp->sg_segs) {  /* Should never happen */
                printk(KERN_WARNING "osst :A: Append_to_buffer offset overflow.\n");
                return (-EIO);