summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2022-10-07 13:37:41 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-11-08 17:37:13 -0800
commit3e0ee843427a573e3e1187a5331e4b7fb00a76f3 (patch)
treebb3f92705df1aebb74cc051e51b4f0cd30ef9689
parent70ec04f3486103819807b061b50a99f6e1d2bf36 (diff)
mm: fix typo in struct vm_operations_struct comments
There is no eprotect(), so I assume this is about mprotect(). Link: https://lkml.kernel.org/r/2385684.8vm7BOzihM@mobilepool36.emlix.com Signed-off-by: Rolf Eike Beer <eb@emlix.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--include/linux/mm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 8bbcccbc5565..f6d2d2d9e284 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -549,7 +549,7 @@ struct vm_operations_struct {
/*
* Called by mprotect() to make driver-specific permission
* checks before mprotect() is finalised. The VMA must not
- * be modified. Returns 0 if eprotect() can proceed.
+ * be modified. Returns 0 if mprotect() can proceed.
*/
int (*mprotect)(struct vm_area_struct *vma, unsigned long start,
unsigned long end, unsigned long newflags);