From: Ido Schimmel <[email protected]>
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 <[email protected]>
> Reported-by: Emil S Tantilov <[email protected]>
> Tested-by: Emil S Tantilov <[email protected]>
Applied.