mm: docs: Fix a comment in process_vm_rw_core
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 20 Mar 2020 20:26:34 +0000 (21:26 +0100)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Mar 2020 15:04:01 +0000 (10:04 -0500)
This removes a duplicate "a" in the comment in process_vm_rw_core.

Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
mm/process_vm_access.c

index de41e83..74e957e 100644 (file)
@@ -206,7 +206,7 @@ static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter,
        if (!mm || IS_ERR(mm)) {
                rc = IS_ERR(mm) ? PTR_ERR(mm) : -ESRCH;
                /*
-                * Explicitly map EACCES to EPERM as EPERM is a more a
+                * Explicitly map EACCES to EPERM as EPERM is a more
                 * appropriate error code for process_vw_readv/writev
                 */
                if (rc == -EACCES)