Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b634d130 authored by Jean Delvare's avatar Jean Delvare Committed by Rusty Russell
Browse files

There is no /sys/parameters



There is no such path as /sys/parameters, module parameters live in
/sys/module/*/parameters.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 4f6de4d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -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.
 *