2021-03-15 11:22:09

by zhouchuangao

[permalink] [raw]
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 <[email protected]>
---
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


2021-03-16 04:37:06

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [PATCH] proc/sysctl: Fix function name error in comments

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 <[email protected]>

Acked-by: Luis Chamberlain <[email protected]>

Luis