[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180115.142850.836273000892159402.davem@davemloft.net>
Date: Mon, 15 Jan 2018 14:28:50 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: netdev@...r.kernel.org, dsahern@...il.com, idosch@...lanox.com
Subject: Re: [patch 1/1] net/ipv6/route.c: work around gcc-4.4.4 anon union
initializer issue
From: akpm@...ux-foundation.org
Date: Fri, 12 Jan 2018 16:18:27 -0800
> From: Andrew Morton <akpm@...ux-foundation.org>
> Subject: net/ipv6/route.c: work around gcc-4.4.4 anon union initializer issue
>
> gcc-4.4.4 has problems with initializers of anonymous union fields.
>
> net/ipv6/route.c: In function 'rt6_sync_up':
> net/ipv6/route.c:3586: error: unknown field 'nh_flags' specified in initializer
> net/ipv6/route.c:3586: warning: missing braces around initializer
> net/ipv6/route.c:3586: warning: (near initialization for 'arg.<anonymous>')
> net/ipv6/route.c: In function 'rt6_sync_down_dev':
> net/ipv6/route.c:3695: error: unknown field 'event' specified in initializer
> net/ipv6/route.c:3695: warning: missing braces around initializer
> net/ipv6/route.c:3695: warning: (near initialization for 'arg.<anonymous>')
>
> Fixes: 2127d95aef6c ("ipv6: Clear nexthop flags upon netdev up")
> Cc: Ido Schimmel <idosch@...lanox.com>
> Cc: David Ahern <dsahern@...il.com>
> Cc: David S. Miller <davem@...emloft.net>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Ido sent me a patch which fixes this and it's in my net-next tree now.
Thank you.
Powered by blists - more mailing lists