[tip: irq/core] genirq/timings: Add kernel-doc for a function parameter

tip-bot2 for Randy Dunlap posted 1 patch 11 months ago
There is a newer version of this series
kernel/irq/timings.c | 1 +
1 file changed, 1 insertion(+)
[tip: irq/core] genirq/timings: Add kernel-doc for a function parameter
Posted by tip-bot2 for Randy Dunlap 11 months ago
The following commit has been merged into the irq/core branch of tip:

Commit-ID:     2bebd2da85640a9bf96fa931064fe7847eca7f0e
Gitweb:        https://git.kernel.org/tip/2bebd2da85640a9bf96fa931064fe7847eca7f0e
Author:        Randy Dunlap <rdunlap@infradead.org>
AuthorDate:    Fri, 10 Jan 2025 22:29:54 -08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Wed, 15 Jan 2025 19:50:55 +01:00

genirq/timings: Add kernel-doc for a function parameter

Add the description for @now to eliminate a kernel-doc warning.

timings.c:537: warning: Function parameter or struct member 'now' not described in 'irq_timings_next_event'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250111062954.910657-1-rdunlap@infradead.org

---
 kernel/irq/timings.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/irq/timings.c b/kernel/irq/timings.c
index c43e2ac..4b7315e 100644
--- a/kernel/irq/timings.c
+++ b/kernel/irq/timings.c
@@ -509,6 +509,7 @@ static inline void irq_timings_store(int irq, struct irqt_stat *irqs, u64 ts)
 
 /**
  * irq_timings_next_event - Return when the next event is supposed to arrive
+ * @now: current time
  *
  * During the last busy cycle, the number of interrupts is incremented
  * and stored in the irq_timings structure. This information is