summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJitendra Kalsaria <jitendra.kalsaria@qlogic.com>2014-08-18 09:31:53 -0400
committerDavid S. Miller <davem@davemloft.net>2014-08-21 17:43:15 -0700
commit26acc712526e9a8a849c819ffb8fe2d4e1f7c063 (patch)
tree944ef40ac308fa7f76409887e7749fb1a49e9227 /security
parentd7155691127d69dff28e371e61fa68375a70a456 (diff)
downloadlinux-26acc712526e9a8a849c819ffb8fe2d4e1f7c063.tar.bz2
qlcnic: Fix flash access interface to application
Application expects flash data in little endian, but driver reads/writes flash data using readl()/writel() APIs which swaps data on big endian machine. So, swap the data after reading from and before writing to flash memory. Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> 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