diff mbox series

[02/12] netfilter: nf_tables: fix implicit include of module.h

Message ID 20190505233305.13650-3-pablo@netfilter.org
State Accepted
Delegated to: David Miller
Headers show
Series [01/12] netfilter: nf_tables: relocate header content to consumer | expand

Commit Message

Pablo Neira Ayuso May 5, 2019, 11:32 p.m. UTC
From: Paul Gortmaker <paul.gortmaker@windriver.com>

This file clearly uses modular infrastructure but does not call
out the inclusion of <linux/module.h> explicitly.  We add that
include explicitly here, so we can tidy up some header usage
elsewhere w/o causing build breakage.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 net/netfilter/nf_tables_set_core.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/net/netfilter/nf_tables_set_core.c b/net/netfilter/nf_tables_set_core.c
index 814789644bd3..a9fce8d10051 100644
--- a/net/netfilter/nf_tables_set_core.c
+++ b/net/netfilter/nf_tables_set_core.c
@@ -1,4 +1,5 @@ 
 /* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/module.h>
 #include <net/netfilter/nf_tables_core.h>
 
 static int __init nf_tables_set_module_init(void)