Commit e2854a10 authored by Zhenzhong Duan's avatar Zhenzhong Duan Committed by Jessica Yu

moduleparam: fix parameter description mismatch

The first parameter of module_param is @name, but @value is used
in description. Fix it.

Fixes: 546970bc ("param: add kerneldoc to moduleparam.h")
Signed-off-by: default avatarZhenzhong Duan <zhenzhong.duan@oracle.com>
Signed-off-by: default avatarJessica Yu <jeyu@kernel.org>
parent c3a6cf19
...@@ -100,11 +100,11 @@ struct kparam_array ...@@ -100,11 +100,11 @@ struct kparam_array
/** /**
* module_param - typesafe helper for a module/cmdline parameter * 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 * @type: the type of the parameter
* @perm: visibility in sysfs. * @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 kernel commandline parameter. Note that - is changed to _, so
* the user can use "foo-bar=1" even for variable "foo_bar". * the user can use "foo-bar=1" even for variable "foo_bar".
* *
......
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