Skip to content

Commit 36bdac1

Browse files
Souptick Joardertorvalds
authored andcommitted
drivers/dax/device.c: convert variable to vm_fault_t type
As part of 226ab56 ("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]>
1 parent 4c5d114 commit 36bdac1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/dax/device.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ static vm_fault_t dev_dax_huge_fault(struct vm_fault *vmf,
392392
{
393393
struct file *filp = vmf->vma->vm_file;
394394
unsigned long fault_size;
395-
int rc, id;
395+
vm_fault_t rc = VM_FAULT_SIGBUS;
396+
int id;
396397
pfn_t pfn;
397398
struct dev_dax *dev_dax = filp->private_data;
398399

0 commit comments

Comments
 (0)