]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
genirq/timings: Add kernel-doc for a function parameter
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 11 Jan 2025 06:29:54 +0000 (22:29 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 15 Jan 2025 20:38:53 +0000 (21:38 +0100)
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

index c43e2ac2f8defd5e5c67e152a960209dec465e49..4b7315e99bd668a2d25050481a89379dd92008f9 100644 (file)
@@ -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