gpu: drm: drm_vm: Adding new typedef vm_fault_t
authorSouptick Joarder <jrdr.linux@gmail.com>
Thu, 10 May 2018 13:42:04 +0000 (19:12 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 29 May 2018 06:58:46 +0000 (08:58 +0200)
commit6c2590914cffa9212874da5c1eddfcfe6553bda6
tree7a33f8f0ff2b45f26be36a5f3a9e86e49e869662
parentd104328ce352eec23e608dab875f2ad2fead60fb
gpu: drm: drm_vm: Adding new typedef vm_fault_t

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.

commit 1c8f422059ae ("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: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180510134203.GA25166@jordon-HP-15-Notebook-PC
drivers/gpu/drm/drm_vm.c