Skip to content

Commit

Permalink
mm: docs: Fix a comment in process_vm_rw_core
Browse files Browse the repository at this point in the history
This removes a duplicate "a" in the comment in process_vm_rw_core.

Signed-off-by: Bernd Edlinger <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
  • Loading branch information
bernd-edlinger authored and ebiederm committed Mar 25, 2020
1 parent 2de4e82 commit 8d09db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/process_vm_access.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8d09db8

Please sign in to comment.