Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netfilter: nf_tables: fix implicit include of module.h

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>

authored by

Paul Gortmaker and committed by
Pablo Neira Ayuso
c5f1931f f1f86d09

+1
+1
net/netfilter/nf_tables_set_core.c
··· 1 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 + #include <linux/module.h> 2 3 #include <net/netfilter/nf_tables_core.h> 3 4 4 5 static int __init nf_tables_set_module_init(void)