net/mlx4_core: Fix unaligned accesses
authorDavid Ahern <david.ahern@oracle.com>
Wed, 29 Apr 2015 20:52:51 +0000 (16:52 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2015 20:26:30 +0000 (16:26 -0400)
commit17d5ceb6e43ea545d6d92db2f3ddb035233ba335
treea9ba6e6173cc539a0168c3f1bbced7b7676e5db2
parentf94813f3c1d02090cc02dcfcbed339897830acb8
net/mlx4_core: Fix unaligned accesses

Addresses the following kernel logs seen during boot:

Kernel unaligned access at TPC[100ee150] mlx4_QUERY_HCA+0x80/0x248 [mlx4_core]
Kernel unaligned access at TPC[100f071c] mlx4_QUERY_ADAPTER+0x100/0x12c [mlx4_core]
Kernel unaligned access at TPC[100f071c] mlx4_QUERY_ADAPTER+0x100/0x12c [mlx4_core]
Kernel unaligned access at TPC[100f071c] mlx4_QUERY_ADAPTER+0x100/0x12c [mlx4_core]
Kernel unaligned access at TPC[100f071c] mlx4_QUERY_ADAPTER+0x100/0x12c [mlx4_core]

Signed-off-by: David Ahern <david.ahern@oracle.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c