Skip to content

Commit

Permalink
There is no /sys/parameters
Browse files Browse the repository at this point in the history
There is no such path as /sys/parameters, module parameters live in
/sys/module/*/parameters.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Rusty Russell <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
Jean Delvare authored and rustyrussell committed Jul 2, 2013
1 parent 4f6de4d commit b634d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/linux/moduleparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ extern struct kernel_param_ops param_ops_string;
extern int param_set_copystring(const char *val, const struct kernel_param *);
extern int param_get_string(char *buffer, const struct kernel_param *kp);

/* for exporting parameters in /sys/parameters */
/* for exporting parameters in /sys/module/.../parameters */

struct module;

Expand Down
2 changes: 1 addition & 1 deletion kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ static void __init kernel_add_sysfs_param(const char *name,
}

/*
* param_sysfs_builtin - add contents in /sys/parameters for built-in modules
* param_sysfs_builtin - add sysfs parameters for built-in modules
*
* Add module_parameters to sysfs for "modules" built into the kernel.
*
Expand Down

0 comments on commit b634d13

Please sign in to comment.