diff mbox series

netfilter: nat: add MODULE_DESCRIPTION

Message ID 20231104034017.14909-1-rdunlap@infradead.org (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series netfilter: nat: add MODULE_DESCRIPTION | expand

Checks

Context Check Description
netdev/series_format warning Single patches do not need cover letters; Target tree name not specified in the subject
netdev/tree_selection success Guessed tree name to be net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1351 this patch: 1350
netdev/cc_maintainers warning 5 maintainers not CCed: kuba@kernel.org pabeni@redhat.com davem@davemloft.net dsahern@kernel.org edumazet@google.com
netdev/build_clang success Errors and warnings before: 1378 this patch: 1377
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1379 this patch: 1378
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 5 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Randy Dunlap Nov. 4, 2023, 3:40 a.m. UTC
Add a MODULE_DESCRIPTION() to iptable_nat.c to avoid a build warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/netfilter/iptable_nat.o

This is only exposed when using "W=n".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Jozsef Kadlecsik <kadlec@netfilter.org>
Cc: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Cc: coreteam@netfilter.org
---
 net/ipv4/netfilter/iptable_nat.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Florian Westphal Nov. 4, 2023, 10:15 a.m. UTC | #1
Randy Dunlap <rdunlap@infradead.org> wrote:
> Add a MODULE_DESCRIPTION() to iptable_nat.c to avoid a build warning:
> 
> WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/netfilter/iptable_nat.o
> 
> This is only exposed when using "W=n".

Thanks, but I have just sent a patch to fill all of them,
so I would take that one instead.
diff mbox series

Patch

diff -- a/net/ipv4/netfilter/iptable_nat.c b/net/ipv4/netfilter/iptable_nat.c
--- a/net/ipv4/netfilter/iptable_nat.c
+++ b/net/ipv4/netfilter/iptable_nat.c
@@ -169,4 +169,5 @@  static void __exit iptable_nat_exit(void
 module_init(iptable_nat_init);
 module_exit(iptable_nat_exit);
 
+MODULE_DESCRIPTION("Netfilter NAT module");
 MODULE_LICENSE("GPL");