projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lseek(fd, n, SEEK_END) does *not* go to eof - n
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
scsi
/
lpfc
/
lpfc_debugfs.c
diff --git
a/drivers/scsi/lpfc/lpfc_debugfs.c
b/drivers/scsi/lpfc/lpfc_debugfs.c
index f63f5ff7f27467f7b34f80d3bc0089538dc147df..f525ecb7a9c6e187bf1097a6baf7aabad96377a4 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_debugfs.c
+++ b/
drivers/scsi/lpfc/lpfc_debugfs.c
@@
-1178,7
+1178,7
@@
lpfc_debugfs_lseek(struct file *file, loff_t off, int whence)
pos = file->f_pos + off;
break;
case 2:
- pos = debug->len
-
off;
+ pos = debug->len
+
off;
}
return (pos < 0 || pos > debug->len) ? -EINVAL : (file->f_pos = pos);
}