Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Fix type of vm_fault_t in binder.c #25

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion binder/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -3392,7 +3392,7 @@ static void binder_vma_close(struct vm_area_struct *vma)
}

#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
static int binder_vm_fault(struct vm_fault *vmf)
static unsigned int binder_vm_fault(struct vm_fault *vmf)
#else
static int binder_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
#endif
Expand Down