bnxt_en: Fix TX push operation on ARM64.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 5 Sep 2016 05:57:35 +0000 (01:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2016 20:59:17 +0000 (13:59 -0700)
commit9d13744bb75078175ab49408f2abb980e4dbccc9
tree24755e1b449f6e5091229dfc2ce30ef49f652fe5
parent5a56a0b3a45dd0cc5b2f7bec6afd053a474ed9f5
bnxt_en: Fix TX push operation on ARM64.

There is a code path where we are calling __iowrite64_copy() on
an address that is not 64-bit aligned.  This causes an exception on
some architectures such as arm64.  Fix that code path by using
__iowrite32_copy().

Reported-by: JD Zheng <jiandong.zheng@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c