Skip to content

Commit 630cc2b

Browse files
jdelvaretorvalds
authored andcommitted
kernel/params.c: align add_sysfs_param documentation with code
This parameter is named kp, so the documentation should use that. Fixes: 9b473de ("param: Fix duplicate module prefixes") Link: http://lkml.kernel.org/r/20170919142656.64aea59e@endymion Signed-off-by: Jean Delvare <jdelvare@suse.de> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8ee912d commit 630cc2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/params.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ EXPORT_SYMBOL(kernel_param_unlock);
600600
/*
601601
* add_sysfs_param - add a parameter to sysfs
602602
* @mk: struct module_kobject
603-
* @kparam: the actual parameter definition to add to sysfs
603+
* @kp: the actual parameter definition to add to sysfs
604604
* @name: name of parameter
605605
*
606606
* Create a kobject if for a (per-module) parameter if mp NULL, and

0 commit comments

Comments
 (0)