net/mlx4_core: Fix cast warning in fw.c
authorTariq Toukan <tariqt@mellanox.com>
Mon, 9 Oct 2017 13:59:49 +0000 (16:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 17:33:05 +0000 (10:33 -0700)
commitb71322d9db924e1ae33b9fd00a2e37aee09df81f
treef1b65832578ab2f5df23b7482b6bb3486445dcb9
parentbb428a5c4df5f50acdce89449e476faa0b295e95
net/mlx4_core: Fix cast warning in fw.c

Fix the following SPARSE warning, in MLX4_GET() macro:
drivers/net/ethernet/mellanox/mlx4/fw.c:233:9: warning: cast to restricted __be64

Fixes: 17d5ceb6e43e ("net/mlx4_core: Fix unaligned accesses")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c