From: Shahed Shaikh Date: Mon, 18 Aug 2014 13:31:55 +0000 (-0400) Subject: qlcnic: Fix endianess issue in firmware load from file operation X-Git-Tag: omap-for-v3.17/fixes-against-rc2~24^2~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d8623e60054e6ada897e6295f137fa7f1399a97;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed