params: fix path of /sys/module/XYZ/parameters/ in comment
PATCH 1/1 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.
---
kernel/params.c is not covered by any MAINTAINERS entry. I assume it should be a "MODULE SUPPORT" stuff?
kernel/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/params.c +1 -1
@@ -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)
Signature · 1 line
2.53.0
Quoted 4 lines · Zenghui Yu
The comment wrongly references to
/sys/modules/XYZ/parameters/directory instead of/sys/module/XYZ/parameters/. Fix it.Signed-off-by Zenghui Yu <[email protected]>
Thanks.
Quoted 21 lines
---
kernel/params.cis not covered by anyMAINTAINERSentry. I assume it should be a "MODULE SUPPORT" stuff?kernel/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/params.c +1
-1@@ -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)
Signature · 1 line
~Randy
Quoted 27 lines · Zenghui Yu
The comment wrongly references to
/sys/modules/XYZ/parameters/directory instead of/sys/module/XYZ/parameters/. Fix it.Signed-off-by Zenghui Yu <[email protected]>---
kernel/params.cis not covered by anyMAINTAINERSentry. I assume it should be a "MODULE SUPPORT" stuff?kernel/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/params.c +1
-1@@ -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)Signature · 1 line
2.53.0
Thank you.
Signature · 1 line
Aaron Tomlin
Petr Pavlu
AppliedQuoted 4 lines · Zenghui Yu
The comment wrongly references to
/sys/modules/XYZ/parameters/directory instead of/sys/module/XYZ/parameters/. Fix it.Signed-off-by Zenghui Yu <[email protected]>
Queued on modules-next for v7.3-rc1.
Signature · 2 lines
Thanks, Petr