[tip: irq/core] genirq/timings: Add kernel-doc for a function parameter
From: tip-bot2 for Randy Dunlap
Date: Wed Jan 15 2025 - 15:47:27 EST
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 554d0fee8a5b09e79ec17a9c3867d4d7b7a818c0
Gitweb: https://git.kernel.org/tip/554d0fee8a5b09e79ec17a9c3867d4d7b7a818c0
Author: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
AuthorDate: Fri, 10 Jan 2025 22:29:54 -08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Wed, 15 Jan 2025 21:38:53 +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@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/all/20250111062954.910657-1-rdunlap@xxxxxxxxxxxxx
---
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