projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3109e5a
)
scsi: sg: Change return type to vm_fault_t
author
Souptick Joarder
<
[email protected]
>
Sat, 14 Apr 2018 18:47:41 +0000
(
00:17
+0530)
committer
Martin K. Petersen
<
[email protected]
>
Thu, 19 Apr 2018 04:00:44 +0000
(
00:00
-0400)
Use new return type vm_fault_t for fault handler in struct
vm_operations_struct.
Signed-off-by: Souptick Joarder <
[email protected]
>
Reviewed-by: Matthew Wilcox <
[email protected]
>
Acked-by: Douglas Gilbert <
[email protected]
>
Signed-off-by: Martin K. Petersen <
[email protected]
>
drivers/scsi/sg.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/sg.c
b/drivers/scsi/sg.c
index c198b96368dd69beba2dcffbe16efe7a3c74ae1d..c2b7d347ede4c065f8b86b0bc31b01c37fa16c87 100644
(file)
--- a/
drivers/scsi/sg.c
+++ b/
drivers/scsi/sg.c
@@
-1192,7
+1192,7
@@
sg_fasync(int fd, struct file *filp, int mode)
return fasync_helper(fd, filp, mode, &sfp->async_qp);
}
-static
in
t
+static
vm_fault_
t
sg_vma_fault(struct vm_fault *vmf)
{
struct vm_area_struct *vma = vmf->vma;