Skip to content

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/[email protected]

Fixes: 102227b ("rv: Add Runtime Verification (RV) interface")
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
Yang Li authored and gregkh committed Jun 12, 2024
1 parent 3fd487f commit e63c108
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 e63c108

Please sign in to comment.