mirror of https://github.com/torvalds/linux.git
Convert to use vm_fault_t type as return type for fault handler. kbuild reported warning during testing of *mm-create-the-new-vm_fault_t-type.patch* available in below link - https://patchwork.kernel.org/patch/10752741/ kernel/memremap.c:46:34: warning: incorrect type in return expression (different base types) kernel/memremap.c:46:34: expected restricted vm_fault_t kernel/memremap.c:46:34: got int This patch has fixed the warnings and also hmm_devmem_fault() is converted to return vm_fault_t to avoid further warnings. [sfr@canb.auug.org.au: drm/nouveau/dmem: update for struct hmm_devmem_ops member change] Link: http://lkml.kernel.org/r/20190220174407.753d94e5@canb.auug.org.au Link: http://lkml.kernel.org/r/20190110145900.GA1317@jordon-HP-15-Notebook-PC Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Reviewed-by: Jérôme Glisse <jglisse@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| dispnv04 | ||
| dispnv50 | ||
| include | ||
| nvif | ||
| nvkm | ||
| Kbuild | ||
| Kconfig | ||
| nouveau_abi16.c | ||
| nouveau_abi16.h | ||
| nouveau_acpi.c | ||
| nouveau_acpi.h | ||
| nouveau_backlight.c | ||
| nouveau_bios.c | ||
| nouveau_bios.h | ||
| nouveau_bo.c | ||
| nouveau_bo.h | ||
| nouveau_chan.c | ||
| nouveau_chan.h | ||
| nouveau_connector.c | ||
| nouveau_connector.h | ||
| nouveau_crtc.h | ||
| nouveau_debugfs.c | ||
| nouveau_debugfs.h | ||
| nouveau_display.c | ||
| nouveau_display.h | ||
| nouveau_dma.c | ||
| nouveau_dma.h | ||
| nouveau_dmem.c | ||
| nouveau_dmem.h | ||
| nouveau_dp.c | ||
| nouveau_drm.c | ||
| nouveau_drv.h | ||
| nouveau_encoder.h | ||
| nouveau_fbcon.c | ||
| nouveau_fbcon.h | ||
| nouveau_fence.c | ||
| nouveau_fence.h | ||
| nouveau_gem.c | ||
| nouveau_gem.h | ||
| nouveau_hwmon.c | ||
| nouveau_hwmon.h | ||
| nouveau_ioc32.c | ||
| nouveau_ioctl.h | ||
| nouveau_led.c | ||
| nouveau_led.h | ||
| nouveau_mem.c | ||
| nouveau_mem.h | ||
| nouveau_nvif.c | ||
| nouveau_platform.c | ||
| nouveau_platform.h | ||
| nouveau_prime.c | ||
| nouveau_reg.h | ||
| nouveau_sgdma.c | ||
| nouveau_svm.c | ||
| nouveau_svm.h | ||
| nouveau_ttm.c | ||
| nouveau_ttm.h | ||
| nouveau_usif.c | ||
| nouveau_usif.h | ||
| nouveau_vga.c | ||
| nouveau_vga.h | ||
| nouveau_vmm.c | ||
| nouveau_vmm.h | ||
| nv04_fbcon.c | ||
| nv04_fence.c | ||
| nv10_fence.c | ||
| nv10_fence.h | ||
| nv17_fence.c | ||
| nv50_display.h | ||
| nv50_fbcon.c | ||
| nv50_fence.c | ||
| nv84_fence.c | ||
| nvc0_fbcon.c | ||
| nvc0_fence.c | ||