Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hsi: clients: Change return type to 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.

Reference id -> 1c8f422059ae ("mm: change return type to
vm_fault_t")

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

authored by

Souptick Joarder and committed by
Sebastian Reichel
70d52ba9 60cc43fc

+1 -1
+1 -1
drivers/hsi/clients/cmt_speech.c
··· 1098 1098 kfree(hi); 1099 1099 } 1100 1100 1101 - static int cs_char_vma_fault(struct vm_fault *vmf) 1101 + static vm_fault_t cs_char_vma_fault(struct vm_fault *vmf) 1102 1102 { 1103 1103 struct cs_char *csdata = vmf->vma->vm_private_data; 1104 1104 struct page *page;