[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170402.193334.1689358074445514089.davem@davemloft.net>
Date: Sun, 02 Apr 2017 19:33:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: saeedm@...lanox.com, netdev@...r.kernel.org, tariqt@...lanox.com
Subject: Re: [patch 2/2]
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: fix build with
gcc-4.4.4
From: akpm@...ux-foundation.org
Date: Fri, 31 Mar 2017 13:09:41 -0700
> From: Andrew Morton <akpm@...ux-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 <saeedm@...lanox.com>
> Cc: Tariq Toukan <tariqt@...lanox.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Applied.
Powered by blists - more mailing lists