mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
kdoc: xforms_lists: handle DECLARE_PER_CPU() in kernel-doc
Add support for DECLARE_PER_CPU() as a var (variable) as used in <linux/netfilter/x_tables.h>. Warning: include/linux/netfilter/x_tables.h:345 function parameter 'seqcount_t' not described in 'DECLARE_PER_CPU' Warning: include/linux/netfilter/x_tables.h:345 function parameter 'xt_recseq' not described in 'DECLARE_PER_CPU' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260614052452.1557987-1-rdunlap@infradead.org>
This commit is contained in:
parent
5cee93f667
commit
da5e67d0e1
|
|
@ -119,6 +119,7 @@ class CTransforms:
|
|||
(CMatch("__guarded_by"), ""),
|
||||
(CMatch("__pt_guarded_by"), ""),
|
||||
(CMatch("LIST_HEAD"), r"struct list_head \1"),
|
||||
(CMatch("DECLARE_PER_CPU"), r"\1 \2[PER_CPU]; }"),
|
||||
|
||||
(KernRe(r"(?://.*)$"), ""),
|
||||
(KernRe(r"(?:/\*.*\*/)"), ""),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user