Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Ross Zwisler <zwisler@kernel.org>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Souptick Joarder and committed by
Linus Torvalds
36bdac1e 4c5d114e

+2 -1
+2 -1
drivers/dax/device.c
··· 392 392 { 393 393 struct file *filp = vmf->vma->vm_file; 394 394 unsigned long fault_size; 395 - int rc, id; 395 + vm_fault_t rc = VM_FAULT_SIGBUS; 396 + int id; 396 397 pfn_t pfn; 397 398 struct dev_dax *dev_dax = filp->private_data; 398 399