diff options
author | Souptick Joarder <[email protected]> | 2018-09-04 15:46:26 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-09-04 16:45:02 -0700 |
commit | 36bdac1e674debd2714cb3e80eaa18266c2426e4 (patch) | |
tree | 0d4ce41995d13ca093baaff0aa4f6791edc515f7 | |
parent | 4c5d114ea04d5b6c7009d46895ec26109aa654f3 (diff) |
drivers/dax/device.c: convert variable to vm_fault_t type
As part of 226ab561075f ("device-dax: Convert to vmf_insert_mixed and
vm_fault_t") in 4.19-rc1, 'rc' was not converted to vm_fault_t. Now
converted.
Link: http://lkml.kernel.org/r/20180830153813.GA26059@jordon-HP-15-Notebook-PC
Signed-off-by: Souptick Joarder <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Vishal Verma <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | drivers/dax/device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dax/device.c b/drivers/dax/device.c index 6fd46083e629..bbe4d72ca105 100644 --- a/drivers/dax/device.c +++ b/drivers/dax/device.c @@ -392,7 +392,8 @@ static vm_fault_t dev_dax_huge_fault(struct vm_fault *vmf, { struct file *filp = vmf->vma->vm_file; unsigned long fault_size; - int rc, id; + vm_fault_t rc = VM_FAULT_SIGBUS; + int id; pfn_t pfn; struct dev_dax *dev_dax = filp->private_data; |