[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180115.142824.816591118676130729.davem@davemloft.net>
Date: Mon, 15 Jan 2018 14:28:24 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: idosch@...lanox.com
Cc: netdev@...r.kernel.org, dsahern@...il.com,
emils.tantilov@...il.com, mlxsw@...lanox.com
Subject: Re: [PATCH net-next] ipv6: Fix build with gcc-4.4.5
From: Ido Schimmel <idosch@...lanox.com>
Date: Fri, 12 Jan 2018 22:07:36 +0200
> Emil reported the following compiler errors:
>
> 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>`)
>
> Problem is with the named initializers for the anonymous union members.
> Fix this by adding curly braces around the initialization.
>
> Fixes: 4c981e28d373 ("ipv6: Prepare to handle multiple netdev events")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reported-by: Emil S Tantilov <emils.tantilov@...il.com>
> Tested-by: Emil S Tantilov <emils.tantilov@...il.com>
Applied.
Powered by blists - more mailing lists