Skip to contentSkip to conversation

params: Align add_sysfs_param documentation with code

PATCH Applied Jean Delvare 2 participants 2 messages Sep 19, 2017 – Sep 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 params: Align add_sysfs_param documentation with code

This parameter is named kp, so the documentation should use that.

Fixes 9b473de87209 ("param: Fix duplicate module prefixes")
Cc Rusty Russell <[email protected]>
---
 kernel/params.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/params.c +1 -1
@@ -600,7 +600,7 @@ EXPORT_SYMBOL(kernel_param_unlock);
 /*
  * add_sysfs_param - add a parameter to sysfs
  * @mk: struct module_kobject
- * @kparam: the actual parameter definition to add to sysfs
+ * @kp: the actual parameter definition to add to sysfs
  * @name: name of parameter
  *
  * Create a kobject if for a (per-module) parameter if mp NULL, and
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jean Delvare

This parameter is named kp, so the documentation should use that.

Fixes 9b473de87209 ("param: Fix duplicate module prefixes")
Cc Rusty Russell <[email protected]>

Thanks,
Rusty.

Quoted 19 lines
---
 kernel/params.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/params.c +1 -1
@@ -600,7 +600,7 @@ EXPORT_SYMBOL(kernel_param_unlock);
 /*
  * add_sysfs_param - add a parameter to sysfs
  * @mk: struct module_kobject
- * @kparam: the actual parameter definition to add to sysfs
+ * @kp: the actual parameter definition to add to sysfs
  * @name: name of parameter
  *
  * Create a kobject if for a (per-module) parameter if mp NULL, and
Signature · 3 lines
-- 
Jean Delvare
SUSE L3 Support