summaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-10-03 16:14:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-10-03 17:54:23 -0700
commit630cc2b30a42c70628368a412beb4a5e5dd71abe (patch)
treec8abec862b70cfb2eb139df24200e612416c937c /kernel/params.c
parent8ee912dab95f1483156b6e994004bfcc3158d798 (diff)
downloadop-kernel-dev-630cc2b30a42c70628368a412beb4a5e5dd71abe.zip
op-kernel-dev-630cc2b30a42c70628368a412beb4a5e5dd71abe.tar.gz
kernel/params.c: 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") 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>
Diffstat (limited to 'kernel/params.c')
-rw-r--r--kernel/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/params.c b/kernel/params.c
index 60b2d81..1cd8f1a 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -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
OpenPOWER on IntegriCloud