summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2024-05-20 13:42:39 +0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-05-21 19:03:35 -0400
commit1e8b7b3dbb3103d577a586ca72bc329f7b67120b (patch)
tree483a8d4383e2a9261969c33634c6ecfe48c78077 /kernel
parent23748e3e0fbfe471eff5ce439921629f6a427828 (diff)
downloadlinux-stable-1e8b7b3dbb3103d577a586ca72bc329f7b67120b.tar.gz
linux-stable-1e8b7b3dbb3103d577a586ca72bc329f7b67120b.tar.bz2
linux-stable-1e8b7b3dbb3103d577a586ca72bc329f7b67120b.zip
rv: Update rv_en(dis)able_monitor doc to match kernel-doc
The patch updates the function documentation comment for rv_en(dis)able_monitor to adhere to the kernel-doc specification. Link: https://lore.kernel.org/linux-trace-kernel/20240520054239.61784-1-yang.lee@linux.alibaba.com Fixes: 102227b970a15 ("rv: Add Runtime Verification (RV) interface") Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/rv/rv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/rv/rv.c b/kernel/trace/rv/rv.c
index 2f68e93fff0b..df0745a42a3f 100644
--- a/kernel/trace/rv/rv.c
+++ b/kernel/trace/rv/rv.c
@@ -245,6 +245,7 @@ static int __rv_disable_monitor(struct rv_monitor_def *mdef, bool sync)
/**
* rv_disable_monitor - disable a given runtime monitor
+ * @mdef: Pointer to the monitor definition structure.
*
* Returns 0 on success.
*/
@@ -256,6 +257,7 @@ int rv_disable_monitor(struct rv_monitor_def *mdef)
/**
* rv_enable_monitor - enable a given runtime monitor
+ * @mdef: Pointer to the monitor definition structure.
*
* Returns 0 on success, error otherwise.
*/