Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
rv: Update rv_en(dis)able_monitor doc to match kernel-doc
Browse files Browse the repository at this point in the history
[ Upstream commit 1e8b7b3 ]

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: 102227b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Yang Li authored and gregkh committed Jun 9, 2024
1 parent 79362cc commit 1299df1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/trace/rv/rv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.
*/
Expand Down

0 comments on commit 1299df1

Please sign in to comment.