2021-12-09 12:37:59

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] fs/exec:Fix syntax errors in comments

Delete the redundant word 'from'.

Signed-off-by: Xiang wangx <[email protected]>
---
fs/exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/exec.c b/fs/exec.c
index cc5ec43df028..d90added76f9 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -118,7 +118,7 @@ bool path_noexec(const struct path *path)
* Note that a shared library must be both readable and executable due to
* security reasons.
*
- * Also note that we take the address to load from from the file itself.
+ * Also note that we take the address to load from the file itself.
*/
SYSCALL_DEFINE1(uselib, const char __user *, library)
{
--
2.20.1