From: a...@linux-foundation.org Date: Fri, 31 Mar 2017 13:09:41 -0700 > From: Andrew Morton <a...@linux-foundation.org> > Subject: drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: fix build with > gcc-4.4.4 > > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: In function > 'mlx5e_set_rxfh': > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1067: error: unknown > field 'rss' specified in initializer > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1067: warning: missing > braces around initializer > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1067: warning: (near > initialization for 'rrp.<anonymous>') > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1068: error: unknown > field 'rss' specified in initializer > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1069: warning: excess > elements in struct initializer > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:1069: warning: (near > initialization for 'rrp') > > gcc-4.4.4 has issues with anonymous union initializers. Work around this. > > Cc: Saeed Mahameed <sae...@mellanox.com> > Cc: Tariq Toukan <tar...@mellanox.com> > Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Applied.