From: Jean Delvare Date: Tue, 3 Oct 2017 23:14:18 +0000 (-0700) Subject: kernel/params.c: align add_sysfs_param documentation with code X-Git-Tag: v3.2.97~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64f8eb23a139d4454600f75bcc40ca470fc0b637;p=thirdparty%2Fkernel%2Fstable.git 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 Acked-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- diff --git a/kernel/params.c b/kernel/params.c index 65aae11eb93f1..48a806f963b09 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