Skip to contentSkip to conversation

Update rv_en(dis)able_monitor doc to match kernel-doc

PATCH In review Yang Li 2 participants 2 messages May 17, 2024

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 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.

---
 kernel/trace/rv/rv.c | 2 ++
 1 file changed, 2 insertions(+)
kernel/trace/rv/rv.c +2 -0
index 2f68e93fff0b..df0745a42a3f 100644
@@ -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.
  */
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw

Hi Yang

Quoted 13 lines · Yang Li

The patch updates the function documentation comment for rv_en(dis)able_monitor to adhere to the kernel-doc specification.

---
 kernel/trace/rv/rv.c | 2 ++
 1 file changed, 2 insertions(+)
kernel/trace/rv/rv.c +0 -0
index 2f68e93fff0b..df0745a42a3f 100644

kernel/trace/rv/rv.c static int __rv_disable_monitor(struct rv_monitor_def *mdef, bool sync) · line 248

Quoted 4 lines
kernel/trace/rv/rv.c +1 -0
@@ -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.

This change is in for mainline kernel, why are you using the -next on the Subject?

-- Daniel