Skip to content

Commit

Permalink
netfilter: nf_tables: fix implicit include of module.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker authored and Pablo Neira Ayuso committed Apr 30, 2019
1 parent f1f86d0 commit c5f1931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/netfilter/nf_tables_set_core.c
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit c5f1931

Please sign in to comment.