diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-16 19:56:09 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 13:51:53 +0200 |
commit | 3eb87d4e5a93fcd89631e440e46c1c4da59fc94f (patch) | |
tree | d6e4a002d3e3b8e03bd2ee50a3b1e63cdf0bc989 /include | |
parent | 851b4c14532df4e4fd902b4b34cb0fe6937f03ca (diff) | |
download | linux-stable-3eb87d4e5a93fcd89631e440e46c1c4da59fc94f.tar.gz linux-stable-3eb87d4e5a93fcd89631e440e46c1c4da59fc94f.tar.bz2 linux-stable-3eb87d4e5a93fcd89631e440e46c1c4da59fc94f.zip |
char: mspec: change return type to vm_fault_t
Use new return type vm_fault_t for the fault handler
in struct vm_operations_struct. 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.
This driver failed to handle any error returned by
vm_insert_pfn. Use the new vmf_insert_pfn function
to return the correct value.
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions