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:
78a6295
)
scsi: target: Change return type to vm_fault_t
author
Souptick Joarder
<
[email protected]
>
Sat, 14 Apr 2018 18:55:57 +0000
(
00:25
+0530)
committer
Martin K. Petersen
<
[email protected]
>
Thu, 19 Apr 2018 04:49:37 +0000
(
00:49
-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]
>
Signed-off-by: Martin K. Petersen <
[email protected]
>
drivers/target/target_core_user.c
patch
|
blob
|
history
diff --git
a/drivers/target/target_core_user.c
b/drivers/target/target_core_user.c
index 4ad89ea71a70118dad2e5d960f89f54431a1ad67..d6af29250d94994e95bdfdb35d54e53a575d58c8 100644
(file)
--- a/
drivers/target/target_core_user.c
+++ b/
drivers/target/target_core_user.c
@@
-1382,7
+1382,7
@@
static struct page *tcmu_try_get_block_page(struct tcmu_dev *udev, uint32_t dbi)
return page;
}
-static
in
t tcmu_vma_fault(struct vm_fault *vmf)
+static
vm_fault_
t tcmu_vma_fault(struct vm_fault *vmf)
{
struct tcmu_dev *udev = vmf->vma->vm_private_data;
struct uio_info *info = &udev->uio_info;