]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3fb92d92cd2b5c5aa998ea1918ade95e2f300a2
tree7c285dd4f8599451af20beeef78c7e7416a03d67
parentca4bc4c96d31f6af8a5ec4ef4c1d2680740fdec1
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