[PATCH v2] powerpc: platform: cell: spufs: Change return type to vm_fault_t

Matthew Wilcox willy at infradead.org
Sat Apr 21 07:34:35 AEST 2018


On Fri, Apr 20, 2018 at 11:02:39PM +0530, Souptick Joarder wrote:
> 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.
> 
> Reference id -> 1c8f422059ae ("mm: change return type to
> vm_fault_t")
> 
> We are fixing a minor bug, that the error from vm_insert_
> pfn() was being ignored and the effect of this is likely
> to be only felt in OOM situations.
> 
> Signed-off-by: Souptick Joarder <jrdr.linux at gmail.com>

Reviewed-by: Matthew Wilcox <mawilcox at microsoft.com>


More information about the Linuxppc-dev mailing list