Linux 4.2 build error in net/netfilter/ipset/ip_set_hash_netnet.c
From: Vinson Lee
Date: Sun Jul 05 2015 - 05:07:06 EST
Hi.
With the latest Linux 4.2-rc1, I am hitting this build error with GCC
4.4.7 on CentOS 6.
CC net/netfilter/ipset/ip_set_hash_netnet.o
net/netfilter/ipset/ip_set_hash_netnet.c: In function âhash_netnet4_uadtâ:
net/netfilter/ipset/ip_set_hash_netnet.c:163: error: unknown field
âcidrâ specified in initializer
net/netfilter/ipset/ip_set_hash_netnet.c:163: warning: missing braces
around initializer
net/netfilter/ipset/ip_set_hash_netnet.c:163: warning: (near
initialization for âe.<anonymous>.ipâ)
net/netfilter/ipset/ip_set_hash_netnet.c: In function âhash_netnet6_uadtâ:
net/netfilter/ipset/ip_set_hash_netnet.c:388: error: unknown field
âcidrâ specified in initializer
net/netfilter/ipset/ip_set_hash_netnet.c:388: warning: missing braces
around initializer
net/netfilter/ipset/ip_set_hash_netnet.c:388: warning: (near
initialization for âe.ip[0]â)
Cheers,
Vinson
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/