diff options
author | Shahed Shaikh <shahed.shaikh@qlogic.com> | 2014-08-18 09:31:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-21 17:43:15 -0700 |
commit | 3d8623e60054e6ada897e6295f137fa7f1399a97 (patch) | |
tree | 71abe07837d62bbf92fabc65b1b2c1a1bd234ce7 /security | |
parent | d874df58ff2eefadd22623d4e53ff92e38117b40 (diff) | |
download | linux-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