]> git.baikalelectronics.ru Git - kernel.git/commit
mm: convert insert_pfn() to vm_fault_t
authorMatthew Wilcox <willy@infradead.org>
Fri, 26 Oct 2018 22:04:40 +0000 (15:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Oct 2018 23:25:20 +0000 (16:25 -0700)
commit0df76523143117c91a62e545c0ab924bd9b2d5fc
treef5cd2337af189839ee2868b99a490bd0c1c256b8
parentbf10eaa3337ef48fc17063aac8769d486a51e272
mm: convert insert_pfn() to vm_fault_t

All callers convert its errno into a vm_fault_t, so convert it to return a
vm_fault_t directly.

Link: http://lkml.kernel.org/r/20180828145728.11873-11-willy@infradead.org
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: Souptick Joarder <jrdr.linux@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c