From: Zhenzhong Duan Date: Mon, 4 Nov 2019 09:09:37 +0000 (+0800) Subject: moduleparam: fix parameter description mismatch X-Git-Tag: v5.5-rc1~36^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2854a1054ab171a2c5cad6e9b7f0c580bab409d;p=thirdparty%2Fkernel%2Flinux.git moduleparam: fix parameter description mismatch The first parameter of module_param is @name, but @value is used in description. Fix it. Fixes: 546970bc6afc ("param: add kerneldoc to moduleparam.h") Signed-off-by: Zhenzhong Duan Signed-off-by: Jessica Yu --- diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h index 5ba250d9172ac..e5c3e23919b84 100644 --- a/include/linux/moduleparam.h +++ b/include/linux/moduleparam.h @@ -100,11 +100,11 @@ struct kparam_array /** * module_param - typesafe helper for a module/cmdline parameter - * @value: the variable to alter, and exposed parameter name. + * @name: the variable to alter, and exposed parameter name. * @type: the type of the parameter * @perm: visibility in sysfs. * - * @value becomes the module parameter, or (prefixed by KBUILD_MODNAME and a + * @name becomes the module parameter, or (prefixed by KBUILD_MODNAME and a * ".") the kernel commandline parameter. Note that - is changed to _, so * the user can use "foo-bar=1" even for variable "foo_bar". *