Commit 630cc2b3 authored by Jean Delvare's avatar Jean Delvare Committed by Linus Torvalds

kernel/params.c: align add_sysfs_param documentation with code

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

Fixes: 9b473de8 ("param: Fix duplicate module prefixes")
Link: http://lkml.kernel.org/r/20170919142656.64aea59e@endymionSigned-off-by: default avatarJean Delvare <jdelvare@suse.de>
Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8ee912da
...@@ -600,7 +600,7 @@ EXPORT_SYMBOL(kernel_param_unlock); ...@@ -600,7 +600,7 @@ EXPORT_SYMBOL(kernel_param_unlock);
/* /*
* add_sysfs_param - add a parameter to sysfs * add_sysfs_param - add a parameter to sysfs
* @mk: struct module_kobject * @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 * @name: name of parameter
* *
* Create a kobject if for a (per-module) parameter if mp NULL, and * Create a kobject if for a (per-module) parameter if mp NULL, and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment