kernel/params.c: align add_sysfs_param documentation with code
commit630cc2b30aupstream. This parameter is named kp, so the documentation should use that. Fixes:9b473de872("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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
committed by
Ben Hutchings
parent
a75a0b71bc
commit
64f8eb23a1
@ -578,7 +578,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
|
||||
|
||||
Reference in New Issue
Block a user