Skip to content

Commit b634d13

Browse files
Jean Delvarerustyrussell
authored andcommitted
There is no /sys/parameters
There is no such path as /sys/parameters, module parameters live in /sys/module/*/parameters. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 4f6de4d commit b634d13

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/linux/moduleparam.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ extern struct kernel_param_ops param_ops_string;
439439
extern int param_set_copystring(const char *val, const struct kernel_param *);
440440
extern int param_get_string(char *buffer, const struct kernel_param *kp);
441441

442-
/* for exporting parameters in /sys/parameters */
442+
/* for exporting parameters in /sys/module/.../parameters */
443443

444444
struct module;
445445

‎kernel/params.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ static void __init kernel_add_sysfs_param(const char *name,
787787
}
788788

789789
/*
790-
* param_sysfs_builtin - add contents in /sys/parameters for built-in modules
790+
* param_sysfs_builtin - add sysfs parameters for built-in modules
791791
*
792792
* Add module_parameters to sysfs for "modules" built into the kernel.
793793
*

0 commit comments

Comments
 (0)