mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
linux: updated to v5.1
Fix MS_RDONLY issue https://github.com/cirosantilli/linux-kernel-module-cheat/issues/56 mmap module had trivial update on return value incompatibility.
This commit is contained in:
@@ -24,8 +24,7 @@ static void vm_close(struct vm_area_struct *vma)
|
||||
}
|
||||
|
||||
/* First page access. */
|
||||
int (*fault)(struct vm_fault *vmf);
|
||||
static int vm_fault(struct vm_fault *vmf)
|
||||
static vm_fault_t vm_fault(struct vm_fault *vmf)
|
||||
{
|
||||
struct page *page;
|
||||
struct mmap_info *info;
|
||||
|
||||
Submodule submodules/linux updated: 1c163f4c7b...e93c9c99a6
Reference in New Issue
Block a user