From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: Linux 4.2 build error in net/netfilter/ipset/ip_set_hash_netnet.c Date: Sun, 5 Jul 2015 08:35:20 -0700 Message-ID: <20150705153520.GA23589@roeck-us.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Pablo Neira Ayuso , Patrick McHardy , Jozsef Kadlecsik , "David S. Miller" , Sergey Popovich , Anton Danilov , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, Netdev , LKML To: Vinson Lee Return-path: Received: from bh-25.webhostbox.net ([208.91.199.152]:55352 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290AbbGEPfZ (ORCPT ); Sun, 5 Jul 2015 11:35:25 -0400 Content-Disposition: inline In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Sat, Jul 04, 2015 at 12:44:36AM -0700, Vinson Lee wrote: > Hi. >=20 > With the latest Linux 4.2-rc1, I am hitting this build error with GCC > 4.4.7 on CentOS 6. >=20 > CC net/netfilter/ipset/ip_set_hash_netnet.o > net/netfilter/ipset/ip_set_hash_netnet.c: In function =E2=80=98hash_n= etnet4_uadt=E2=80=99: > net/netfilter/ipset/ip_set_hash_netnet.c:163: error: unknown field > =E2=80=98cidr=E2=80=99 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 =E2=80=98e..ip=E2=80=99) > net/netfilter/ipset/ip_set_hash_netnet.c: In function =E2=80=98hash_n= etnet6_uadt=E2=80=99: > net/netfilter/ipset/ip_set_hash_netnet.c:388: error: unknown field > =E2=80=98cidr=E2=80=99 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 =E2=80=98e.ip[0]=E2=80=99) >=20 Previously fixed with commit 1a869205c75cb ("netfilter: ipset: The unna= med union initialization may lead to compilation error"), reintroduced with commi= t aff227581ed1a ("netfilter: ipset: Check CIDR value only when attribute = is given"). Guenter -- To unsubscribe from this list: send the line "unsubscribe netfilter-dev= el" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752123AbbGEPfd (ORCPT ); Sun, 5 Jul 2015 11:35:33 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:55352 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290AbbGEPfZ (ORCPT ); Sun, 5 Jul 2015 11:35:25 -0400 Date: Sun, 5 Jul 2015 08:35:20 -0700 From: Guenter Roeck To: Vinson Lee Cc: Pablo Neira Ayuso , Patrick McHardy , Jozsef Kadlecsik , "David S. Miller" , Sergey Popovich , Anton Danilov , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, Netdev , LKML Subject: Re: Linux 4.2 build error in net/netfilter/ipset/ip_set_hash_netnet.c Message-ID: <20150705153520.GA23589@roeck-us.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 04, 2015 at 12:44:36AM -0700, Vinson Lee wrote: > 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..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]’) > Previously fixed with commit 1a869205c75cb ("netfilter: ipset: The unnamed union initialization may lead to compilation error"), reintroduced with commit aff227581ed1a ("netfilter: ipset: Check CIDR value only when attribute is given"). Guenter