summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorShahed Shaikh <shahed.shaikh@qlogic.com>2014-08-18 09:31:55 -0400
committerDavid S. Miller <davem@davemloft.net>2014-08-21 17:43:15 -0700
commit3d8623e60054e6ada897e6295f137fa7f1399a97 (patch)
tree71abe07837d62bbf92fabc65b1b2c1a1bd234ce7 /security
parentd874df58ff2eefadd22623d4e53ff92e38117b40 (diff)
downloadlinux-stable-3d8623e60054e6ada897e6295f137fa7f1399a97.tar.gz
linux-stable-3d8623e60054e6ada897e6295f137fa7f1399a97.tar.bz2
linux-stable-3d8623e60054e6ada897e6295f137fa7f1399a97.zip
qlcnic: Fix endianess issue in firmware load from file operation
Firmware binary file is in little endian. On big-endian architecture, while writing this binary FW file to adapters memory, writel() swaps the data resulting into corruption of FW image. So, swap the data before writing into adapters memory. Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions