* [PATCH] docs: xforms_lists: support DEFINE_IDTENTRY_IRQ()
@ 2026-07-23 19:01 Randy Dunlap
2026-08-03 19:03 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-07-23 19:01 UTC (permalink / raw)
To: linux-doc
Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, Mauro Carvalho Chehab
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"), ""),
(CMatch("__cond_releases"), ""),
(CMatch("__acquires"), ""),
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] docs: xforms_lists: support DEFINE_IDTENTRY_IRQ()
2026-07-23 19:01 [PATCH] docs: xforms_lists: support DEFINE_IDTENTRY_IRQ() Randy Dunlap
@ 2026-08-03 19:03 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2026-08-03 19:03 UTC (permalink / raw)
To: Randy Dunlap, linux-doc; +Cc: Randy Dunlap, Shuah Khan, Mauro Carvalho Chehab
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-03 19:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23 19:01 [PATCH] docs: xforms_lists: support DEFINE_IDTENTRY_IRQ() Randy Dunlap
2026-08-03 19:03 ` Jonathan Corbet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.