From: Ido Schimmel <ido...@mellanox.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 <ido...@mellanox.com>
> Reported-by: Emil S Tantilov <emils.tanti...@gmail.com>
> Tested-by: Emil S Tantilov <emils.tanti...@gmail.com>

Applied.

Reply via email to