summaryrefslogtreecommitdiff
path: root/kernel/params.c
diff options
context:
space:
mode:
authorZenghui Yu <zenghui.yu@linux.dev>2026-06-21 16:22:23 +0800
committerPetr Pavlu <petr.pavlu@suse.com>2026-08-06 13:29:02 +0200
commitdf8de94eb3dce16ac9b7b2696efe9b11aed4f3a5 (patch)
tree264bffcf8b4aedcbe8eacfa443a5200a1f3243f7 /kernel/params.c
parent0e9f090a4e9bfae5a190ccf89eab3bf14f6b0f96 (diff)
params: fix path of /sys/module/XYZ/parameters/ in comment
The comment wrongly references to /sys/modules/XYZ/parameters/ directory instead of /sys/module/XYZ/parameters/. Fix it. Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev> Reviewed-by: Aaron Tomlin <atomlin@atomlin.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'kernel/params.c')
-rw-r--r--kernel/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/params.c b/kernel/params.c
index a668863a4bb6..3456b104efc9 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -538,7 +538,7 @@ const struct kernel_param_ops param_ops_string = {
};
EXPORT_SYMBOL(param_ops_string);
-/* sysfs output in /sys/modules/XYZ/parameters/ */
+/* sysfs output in /sys/module/XYZ/parameters/ */
#define to_module_attr(n) container_of_const(n, struct module_attribute, attr)
#define to_module_kobject(n) container_of(n, struct module_kobject, kobj)