[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1406279936-6494-1-git-send-email-jeffrey.t.kirsher@intel.com>
Date: Fri, 25 Jul 2014 02:18:56 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: davem@...emloft.net
Cc: Mark Rustad <mark.d.rustad@...el.com>, netdev@...r.kernel.org,
nhorman@...hat.com, sassmann@...hat.com,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Subject: [net-next] netfilter: Resolve missing-field-initializers warnings
From: Mark Rustad <mark.d.rustad@...el.com>
Resolve missing-field-initializers warnings by avoiding
implicit inner field initializer. The more explicit form
avoids the warning.
Signed-off-by: Mark Rustad <mark.d.rustad@...el.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
---
net/netfilter/xt_set.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netfilter/xt_set.c b/net/netfilter/xt_set.c
index 80c2e2d..2671cc2 100644
--- a/net/netfilter/xt_set.c
+++ b/net/netfilter/xt_set.c
@@ -43,7 +43,7 @@ struct ip_set_adt_opt n = { \
.dim = d, \
.flags = fs, \
.cmdflags = cfs, \
- .ext.timeout = t, \
+ .ext = { .timeout = t } \
}
/* Revision 0 interface: backward compatible with netfilter/iptables */
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists