Message ID | 1615807194-79646-1-git-send-email-zhouchuangao@vivo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | proc/sysctl: Fix function name error in comments | expand |
On Mon, Mar 15, 2021 at 04:19:54AM -0700, zhouchuangao wrote: > The function name should be modified to register_sysctl_paths instead > of register_sysctl_table_path. > > Signed-off-by: zhouchuangao <zhouchuangao@vivo.com> Acked-by: Luis Chamberlain <mcgrof@kernel.org> Luis
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 *
The function name should be modified to register_sysctl_paths instead of register_sysctl_table_path. Signed-off-by: zhouchuangao <zhouchuangao@vivo.com> --- fs/proc/proc_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)