qlcnic: Fix endianess issue in FW dump template header
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Mon, 18 Aug 2014 13:31:54 +0000 (09:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Aug 2014 00:43:15 +0000 (17:43 -0700)
commitd874df58ff2eefadd22623d4e53ff92e38117b40
tree7c285dd4f8599451af20beeef78c7e7416a03d67
parent26acc712526e9a8a849c819ffb8fe2d4e1f7c063
qlcnic: Fix endianess issue in FW dump template header

Firmware dump template header is read from adapter using
readl() which swaps the data. So, adjust structure
element on the boundary of 32bit dword.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c