mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-16 01:24:08 +08:00
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>
This commit is contained in:
parent
bbaf61e2e9
commit
32690e0b56
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user