rv: Update rv_en(dis)able_monitor doc to match kernel-doc
authorYang Li <yang.lee@linux.alibaba.com>
Mon, 20 May 2024 05:42:39 +0000 (13:42 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 21 May 2024 23:03:35 +0000 (19:03 -0400)
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>
kernel/trace/rv/rv.c

index 2f68e93fff0bc93691de3409f6f168c6c8d5b827..df0745a42a3f353336e12a56bfcb45b2b4fab458 100644 (file)
@@ -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.
  */