]> 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)
commit2220f75c78a003696fec64b4b085e22e724d1cbc
treec0cafd8b3af8cce600cecc863e3b34d4a01b9138
parent064bcb773e451d01c97b9b60772d30bcc3d5c90c
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 -> 668ff7502a9d ("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