mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: [PATCH] genirq/timings: add kernel-doc for a function param
Date: Fri, 10 Jan 2025 22:29:54 -0800	[thread overview]
Message-ID: <20250111062954.910657-1-rdunlap@infradead.org> (raw)

Add the description for @now to eliminate a kernel-doc warning.
(Is this function used? I don't see it being called.)

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>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
 kernel/irq/timings.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20250108.orig/kernel/irq/timings.c
+++ linux-next-20250108/kernel/irq/timings.c
@@ -509,6 +509,7 @@ static inline void irq_timings_store(int
 
 /**
  * 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

             reply	other threads:[~2025-01-11  6:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-11  6:29 Randy Dunlap [this message]
2025-01-15  9:59 ` Thomas Gleixner
2025-01-15 12:09   ` Daniel Lezcano
2025-01-15 16:06     ` Thomas Gleixner
2025-01-15 19:03 ` [tip: irq/core] genirq/timings: Add kernel-doc for a function parameter tip-bot2 for Randy Dunlap
2025-01-15 20:47 ` tip-bot2 for Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250111062954.910657-1-rdunlap@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®