linux_dsm_epyc7002/drivers/scsi/cxlflash
Souptick Joarder a38b80c5f4 scsi: cxlflash: Change return type for fault handler
Use new return type vm_fault_t for fault handler. For now, this is just
documenting that the function returns a VM_FAULT value rather than an
errno. Once all instances are converted, vm_fault_t will become a distinct
type.

Ref-> commit 1c8f422059 ("mm: change return type to vm_fault_t")

Previously, VM_FAULT_NOPAGE was returned without verifying return value of
vm_insert_pfn. The new inline vmf_insert_pfn() will address this issue by
returning correct VM_FAULT_* type from fault handler.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-06-21 22:57:39 -04:00
..
backend.h scsi: cxlflash: Add include guards to backend.h 2018-05-18 11:22:10 -04:00
common.h scsi: cxlflash: Use local mutex for AFU serialization 2018-05-18 11:22:10 -04:00
cxl_hw.c scsi: cxlflash: Introduce object handle fop 2018-04-18 19:32:50 -04:00
Kconfig scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
lunmgt.c scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
main.c scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
main.h scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
Makefile scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
ocxl_hw.c scsi: cxlflash: Change return type for fault handler 2018-06-21 22:57:39 -04:00
ocxl_hw.h scsi: cxlflash: Register for translation errors 2018-04-18 19:32:50 -04:00
sislite.h scsi: cxlflash: Update synchronous interrupt status bits 2018-04-18 19:32:50 -04:00
superpipe.c scsi: cxlflash: Change return type for fault handler 2018-06-21 22:57:39 -04:00
superpipe.h scsi: cxlflash: Remove embedded CXL work structures 2018-01-10 23:24:57 -05:00
vlun.c scsi: cxlflash: Isolate external module dependencies 2018-05-18 11:22:10 -04:00
vlun.h scsi: cxlflash: Fix warnings/errors 2017-04-13 22:55:41 -04:00