linux/netfilter.h: fix kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 23 Jun 2023 06:11:01 +0000 (23:11 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Jun 2023 11:27:51 +0000 (13:27 +0200)
commitf18e7122cc73d9218930156fa38f050a2e37de57
tree0c24f240f1a834fe9fd5de267a9e312bdec39ba7
parentff0a3a7d52ff7282dbd183e7fc29a1fe386b0c30
linux/netfilter.h: fix kernel-doc warnings

kernel-doc does not support DECLARE_PER_CPU(), so don't mark it with
kernel-doc notation.

One comment block is not kernel-doc notation, so just use
"/*" to begin the comment.

Quietens these warnings:

netfilter.h:493: warning: Function parameter or member 'bool' not described in 'DECLARE_PER_CPU'
netfilter.h:493: warning: Function parameter or member 'nf_skb_duplicated' not described in 'DECLARE_PER_CPU'
netfilter.h:493: warning: expecting prototype for nf_skb_duplicated(). Prototype was for DECLARE_PER_CPU() instead
netfilter.h:496: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * Contains bitmask of ctnetlink event subscribers, if any.

Fixes: e7c8899f3e6f ("netfilter: move tee_active to core")
Fixes: fdf6491193e4 ("netfilter: ctnetlink: make event listener tracking global")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h