[PATCH v2] gpu: drm: armada: Adding new typedef vm_fault_t
jrdr.linux at gmail.com
Wed May 23 09:39:28 UTC 2018
On Wed, May 16, 2018 at 10:05 AM, Souptick Joarder <jrdr.linux at gmail.com> wrote:
> On Fri, May 11, 2018 at 2:52 PM, Russell King - ARM Linux
> <linux at armlinux.org.uk> wrote:
>> On Thu, May 10, 2018 at 08:34:48PM +0530, Souptick Joarder wrote:
>>> Use new return type vm_fault_t for 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.
>>> commit 1c8f422059ae ("mm: change return type to vm_fault_t")
>>> Previously vm_insert_pfn() returns err which driver
>>> mapped into VM_FAULT_* type. The new function
>>> vmf_insert_pfn() will replace this inefficiency by
>>> returning VM_FAULT_* type.
>>> Signed-off-by: Souptick Joarder <jrdr.linux at gmail.com>
>>> Reviewed-by: Matthew Wilcox <mawilcox at microsoft.com>
>> Acked-by: Russell King <rmk+kernel at armlinux.org.uk>
> If no further comment, we would like to get this patch in queue
> for 4.18.
We would like to get this patch in queue
More information about the dri-devel