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 |
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 -- 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");
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(+)