Souptick Joarder 2b74030354 mm: Change return type int to vm_fault_t for fault handlers
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")

The aim is to change the return type of finish_fault() and
handle_mm_fault() to vm_fault_t type.  As part of that clean up return
type of all other recursively called functions have been changed to
vm_fault_t type.

The places from where handle_mm_fault() is getting invoked will be
change to vm_fault_t type but in a separate patch.

vmf_error() is the newly introduce inline function in 4.17-rc6.

[akpm@linux-foundation.org: don't shadow outer local `ret' in __do_huge_pmd_anonymous_page()]
Link: http://lkml.kernel.org/r/20180604171727.GA20279@jordon-HP-15-Notebook-PC
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-23 18:48:44 -07:00
..
2018-06-12 16:19:22 -07:00
2018-08-20 18:32:00 -07:00
2018-08-22 13:38:05 -07:00
\n
2018-08-17 09:41:28 -07:00
2018-08-15 10:46:54 -07:00
2017-05-18 10:30:19 -06:00
2018-04-27 14:34:51 +02:00
2018-01-05 18:43:00 +11:00
2018-07-21 10:43:12 -05:00
2018-06-08 17:21:52 -07:00
2018-06-06 16:34:00 -07:00
2018-07-03 09:20:44 +02:00
2018-06-19 09:56:27 +02:00
2018-06-07 16:56:28 -04:00
2018-06-12 16:19:22 -07:00