projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbaf61e
)
scsi: osst: add missing indent on a for loop statement
author
Colin Ian King
<colin.king@canonical.com>
Tue, 15 Aug 2017 14:08:28 +0000
(15:08 +0100)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/drivers/scsi/osst.c
b/drivers/scsi/osst.c
index
97ab5f1
..
241908a
100644
(file)
--- 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);