* [PATCH 1/2 nf] netfilter: bridge: do not initialize statics to 0 or NULL
@ 2015-07-30 4:06 Bernhard Thaler
2015-07-30 11:59 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Thaler @ 2015-07-30 4:06 UTC (permalink / raw)
To: pablo, kadlec; +Cc: netfilter-devel, Bernhard Thaler
Fix checkpatch.pl "ERROR: do not initialise statics to 0 or NULL" for
all statics explicitly initialized to 0.
Signed-off-by: Bernhard Thaler <bernhard.thaler@wvnet.at>
---
net/bridge/br_netfilter_hooks.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c
index c8b9bcf..624e1f2 100644
--- a/net/bridge/br_netfilter_hooks.c
+++ b/net/bridge/br_netfilter_hooks.c
@@ -49,9 +49,9 @@ static struct ctl_table_header *brnf_sysctl_header;
static int brnf_call_iptables __read_mostly = 1;
static int brnf_call_ip6tables __read_mostly = 1;
static int brnf_call_arptables __read_mostly = 1;
-static int brnf_filter_vlan_tagged __read_mostly = 0;
-static int brnf_filter_pppoe_tagged __read_mostly = 0;
-static int brnf_pass_vlan_indev __read_mostly = 0;
+static int brnf_filter_vlan_tagged __read_mostly;
+static int brnf_filter_pppoe_tagged __read_mostly;
+static int brnf_pass_vlan_indev __read_mostly;
#else
#define brnf_call_iptables 1
#define brnf_call_ip6tables 1
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2 nf] netfilter: bridge: do not initialize statics to 0 or NULL
2015-07-30 4:06 [PATCH 1/2 nf] netfilter: bridge: do not initialize statics to 0 or NULL Bernhard Thaler
@ 2015-07-30 11:59 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2015-07-30 11:59 UTC (permalink / raw)
To: Bernhard Thaler; +Cc: kadlec, netfilter-devel
On Thu, Jul 30, 2015 at 06:06:12AM +0200, Bernhard Thaler wrote:
> Fix checkpatch.pl "ERROR: do not initialise statics to 0 or NULL" for
> all statics explicitly initialized to 0.
Applied to nf-next, thanks for following up on this.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-30 11:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-30 4:06 [PATCH 1/2 nf] netfilter: bridge: do not initialize statics to 0 or NULL Bernhard Thaler
2015-07-30 11:59 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).