linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] proc/sysctl: Fix function name error in comments
@ 2021-03-15 11:19 zhouchuangao
  2021-03-15 20:25 ` Luis Chamberlain
  0 siblings, 1 reply; 2+ messages in thread
From: zhouchuangao @ 2021-03-15 11:19 UTC (permalink / raw)
  To: Luis Chamberlain, Kees Cook, Iurii Zaikin, Alexey Dobriyan,
	linux-kernel, linux-fsdevel
  Cc: zhouchuangao

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] proc/sysctl: Fix function name error in comments
  2021-03-15 11:19 [PATCH] proc/sysctl: Fix function name error in comments zhouchuangao
@ 2021-03-15 20:25 ` Luis Chamberlain
  0 siblings, 0 replies; 2+ messages in thread
From: Luis Chamberlain @ 2021-03-15 20:25 UTC (permalink / raw)
  To: zhouchuangao, Andrew Morton
  Cc: Kees Cook, Iurii Zaikin, Alexey Dobriyan, linux-kernel,
	linux-fsdevel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-15 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-15 11:19 [PATCH] proc/sysctl: Fix function name error in comments zhouchuangao
2021-03-15 20:25 ` Luis Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).