The patch titled Subject: drivers/dax/device.c: convert variable to vm_fault_t type has been added to the -mm tree. Its filename is device-dax-convert-variable-to-vm_fault_t-type.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/device-dax-convert-variable-to-vm_fault_t-type.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/device-dax-convert-variable-to-vm_fault_t-type.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Souptick Joarder <jrdr.linux@xxxxxxxxx> Subject: 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 <jrdr.linux@xxxxxxxxx> Cc: Dan Williams <dan.j.williams@xxxxxxxxx> Cc: Dave Jiang <dave.jiang@xxxxxxxxx> Cc: Ross Zwisler <zwisler@xxxxxxxxxx> Cc: Vishal Verma <vishal.l.verma@xxxxxxxxx> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- diff -puN drivers/dax/device.c~device-dax-convert-variable-to-vm_fault_t-type drivers/dax/device.c --- a/drivers/dax/device.c~device-dax-convert-variable-to-vm_fault_t-type +++ a/drivers/dax/device.c @@ -392,7 +392,8 @@ static vm_fault_t dev_dax_huge_fault(str { 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; _ Patches currently in -mm which might be from jrdr.linux@xxxxxxxxx are device-dax-convert-variable-to-vm_fault_t-type.patch fs-iomap-change-return-type-to-vm_fault_t.patch fs-convert-return-type-int-to-vm_fault_t.patch fs-convert-return-type-int-to-vm_fault_t-v2.patch mm-conveted-to-use-vm_fault_t.patch