proc:fix confusing macro arg name
Subsystems (2)
PATCH 1/1 proc:fix confusing macro arg name
state_size and ops are in the wrong position, fix it.
Signed-off-by Miaohe Lin <[email protected]>
--- include/linux/proc_fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/proc_fs.h +2 -2
@@ -58,8 +58,8 @@ extern int remove_proc_subtree(const char *, struct proc_dir_entry *);struct proc_dir_entry *proc_create_net_data (const char *name,umode_t mode,struct proc_dir_entry *parent,const struct seq_operations *ops,unsigned int state_size,void *data); -#define proc_create_net (name, mode, parent, state_size, ops) \ - proc_create_net_data(name, mode, parent, state_size, ops, NULL) +#define proc_create_net (name, mode, parent, ops, state_size) \ + proc_create_net_data(name, mode, parent, ops, state_size, NULL)struct proc_dir_entry *proc_create_net_single (const char *name,umode_t mode,struct proc_dir_entry *parent,int (*show)(struct seq_file *,void *),void *data);
Signature · 1 line
2.21.GIT