linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] moduleparam: fix parameter description mismatch
@ 2019-11-04  9:09 Zhenzhong Duan
  2019-11-07 14:12 ` Jessica Yu
  0 siblings, 1 reply; 2+ messages in thread
From: Zhenzhong Duan @ 2019-11-04  9:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: yamada.masahiro, jeyu, gladkov.alexey, rusty, Zhenzhong Duan

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 <zhenzhong.duan@oracle.com>
---
 include/linux/moduleparam.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h
index 5ba250d..e5c3e23 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".
  *
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] moduleparam: fix parameter description mismatch
  2019-11-04  9:09 [PATCH] moduleparam: fix parameter description mismatch Zhenzhong Duan
@ 2019-11-07 14:12 ` Jessica Yu
  0 siblings, 0 replies; 2+ messages in thread
From: Jessica Yu @ 2019-11-07 14:12 UTC (permalink / raw)
  To: Zhenzhong Duan; +Cc: linux-kernel, yamada.masahiro, gladkov.alexey, rusty

+++ Zhenzhong Duan [04/11/19 17:09 +0800]:
>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 <zhenzhong.duan@oracle.com>

Applied, thanks.

Jessica


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-07 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04  9:09 [PATCH] moduleparam: fix parameter description mismatch Zhenzhong Duan
2019-11-07 14:12 ` Jessica Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).