lkml.org 
[lkml]   [2019]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] moduleparam: fix kerneldoc
Date
Document missing @args in xxx_param_cb().

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
---
Changes since v1: do not replace 'lvalue' with 'value'
---
include/linux/moduleparam.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h
index e5c3e23..5215198 100644
--- a/include/linux/moduleparam.h
+++ b/include/linux/moduleparam.h
@@ -160,6 +160,7 @@ struct kparam_array
* module_param_cb - general callback for a module/cmdline parameter
* @name: a valid C identifier which is the parameter name.
* @ops: the set & get operations for this parameter.
+ * @args: args for @ops
* @perm: visibility in sysfs.
*
* The ops can have NULL set or get functions.
@@ -176,6 +177,7 @@ struct kparam_array
* to be evaluated before certain initcall level
* @name: a valid C identifier which is the parameter name.
* @ops: the set & get operations for this parameter.
+ * @args: args for @ops
* @perm: visibility in sysfs.
*
* The ops can have NULL set or get functions.
--
2.7.4
\
 
 \ /
  Last update: 2019-11-29 16:40    [W:0.200 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site