[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1615807194-79646-1-git-send-email-zhouchuangao@vivo.com>
Date: Mon, 15 Mar 2021 04:19:54 -0700
From: zhouchuangao <zhouchuangao@...o.com>
To: Luis Chamberlain <mcgrof@...nel.org>,
Kees Cook <keescook@...omium.org>,
Iurii Zaikin <yzaikin@...gle.com>,
Alexey Dobriyan <adobriyan@...il.com>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Cc: zhouchuangao <zhouchuangao@...o.com>
Subject: [PATCH] proc/sysctl: Fix function name error in comments
The function name should be modified to register_sysctl_paths instead
of register_sysctl_table_path.
Signed-off-by: zhouchuangao <zhouchuangao@...o.com>
---
fs/proc/proc_sysctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index 984e42f..f026a48 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -1562,7 +1562,7 @@ struct ctl_table_header *__register_sysctl_paths(
}
/**
- * register_sysctl_table_path - register a sysctl table hierarchy
+ * register_sysctl_paths - register a sysctl table hierarchy
* @path: The path to the directory the sysctl table is in.
* @table: the top-level table structure
*
--
2.7.4
Powered by blists - more mailing lists