summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/osst.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-15 16:08:28 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-25 04:29:00 +0200
commit32690e0b5601f95610f0254202ad2321900ac726 (patch)
tree7ab2c0a4c8cf3925aac7e57d3160f1669ea683fa /drivers/scsi/osst.c
parentscsi: mpt3sas: fix pr_info message continuation (diff)
downloadlinux-32690e0b5601f95610f0254202ad2321900ac726.tar.xz
linux-32690e0b5601f95610f0254202ad2321900ac726.zip
scsi: osst: add missing indent on a for loop statement
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>
Diffstat (limited to 'drivers/scsi/osst.c')
-rw-r--r--drivers/scsi/osst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c
index 97ab5f160bc6..241908aca468 100644
--- a/drivers/scsi/osst.c
+++ b/drivers/scsi/osst.c
@@ -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);