diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-06-20 20:25:07 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-22 04:57:39 +0200 |
commit | a38b80c5f49c30c3cbd4523bdbde0cc725bb0e63 (patch) | |
tree | 0f623b4bad51798ce4e7c88171dfb67930f58068 /drivers/scsi/aacraid | |
parent | scsi: smartpqi: bump driver version to 1.1.4-130 (diff) | |
download | linux-a38b80c5f49c30c3cbd4523bdbde0cc725bb0e63.tar.xz linux-a38b80c5f49c30c3cbd4523bdbde0cc725bb0e63.zip |
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 1c8f422059ae ("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>
Diffstat (limited to 'drivers/scsi/aacraid')
0 files changed, 0 insertions, 0 deletions