]> git.baikalelectronics.ru Git - kernel.git/commit
usb: mon: Change return type to vm_fault_t
authorSouptick Joarder <jrdr.linux@gmail.com>
Fri, 20 Apr 2018 19:54:24 +0000 (01:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 13:36:31 +0000 (15:36 +0200)
commit997d07cd645aa4f684aec21f73d5d659861a46d4
treec0cafd8b3af8cce600cecc863e3b34d4a01b9138
parentfedbd783dfdfa040524ea8eb8a31cb2a775a133b
usb: mon: 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.

Reference id -> cbb1cb712168 ("mm: change return type to
vm_fault_t")

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>
drivers/usb/mon/mon_bin.c