diff options
author | Jean Delvare <jdelvare@suse.de> | 2017-10-03 16:14:18 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2018-01-01 20:50:55 +0000 |
commit | 64f8eb23a139d4454600f75bcc40ca470fc0b637 (patch) | |
tree | 43a3e6a677d83bc5b1b3cc2e9a59d3b4be30e125 /kernel | |
parent | a75a0b71bc065dc42701e7708a8e6b368ea01864 (diff) |
kernel/params.c: align add_sysfs_param documentation with code
commit 630cc2b30a42c70628368a412beb4a5e5dd71abe upstream.
This parameter is named kp, so the documentation should use that.
Fixes: 9b473de87209 ("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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/params.c b/kernel/params.c index 65aae11eb93f..48a806f963b0 100644 --- a/kernel/params.c +++ b/kernel/params.c @@ -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 |