Linux Documentation
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Randy Dunlap <rdunlap@infradead.org>, linux-doc@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>
Subject: Re: [PATCH] docs: xforms_lists: support DEFINE_IDTENTRY_IRQ()
Date: Mon, 03 Aug 2026 13:03:03 -0600	[thread overview]
Message-ID: <87h5lbxc0o.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20260723190151.507295-1-rdunlap@infradead.org>

Randy Dunlap <rdunlap@infradead.org> writes:

> Avoid kernel-doc warnings by supported DEFINE_IDTENTRY_IRQ() as a
> function transform.
>
> Warning: arch/x86/kernel/apic/apic.c:2157 function parameter
>  'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ'
> Warning: arch/x86/kernel/apic/apic.c:2157 expecting prototype for
>  spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Shuah Khan <skhan@linuxfoundation.org>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
>
>  tools/lib/python/kdoc/xforms_lists.py |    1 +
>  1 file changed, 1 insertion(+)
>
> --- linux-next-20260722.orig/tools/lib/python/kdoc/xforms_lists.py
> +++ linux-next-20260722/tools/lib/python/kdoc/xforms_lists.py
> @@ -90,6 +90,7 @@ class CTransforms:
>          (CMatch("__(?:re)?alloc_size"), ""),
>          (CMatch("__diagnose_as"), ""),
>          (CMatch("DECL_BUCKET_PARAMS"), r"\1, \2"),
> +        (CMatch("DEFINE_IDTENTRY_IRQ"), r"static void \1(struct pt_regs *regs, u32 vector)"),
>          (CMatch("__cond_acquires"), ""),

Applied, thanks.

jon

      reply	other threads:[~2026-08-03 19:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-23 19:01 [PATCH] docs: xforms_lists: support DEFINE_IDTENTRY_IRQ() Randy Dunlap
2026-08-03 19:03 ` Jonathan Corbet [this message]

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=87h5lbxc0o.fsf@trenco.lwn.net \
    --to=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    /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