]> 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)
commit288a9693d7f72257b4096ee78b477b7c6c4041d6
tree7c285dd4f8599451af20beeef78c7e7416a03d67
parent163ef8600f052e8dbb8a78fcb000d87619e6b5e3
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