From: Emmanuel Grumbach Date: Thu, 31 Jul 2014 11:32:37 +0000 (+0300) Subject: iwlwifi: mvm: fix endianity issues with Smart Fifo commands X-Git-Tag: fixes-for-v3.18-merge-window~87^2~35^2~1^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86974bff066dd8b98be46d7c7d3aba89034f0833;p=pandora-kernel.git iwlwifi: mvm: fix endianity issues with Smart Fifo commands This code was broken on big endian systems. Sparse didn't catch the bug since the firmware command was not tagged as little endian. Fix the bug for big endian systems and tag the field in the firmware command to prevent such issues in the future. Cc: stable@vger.kernel.org [3.14+] Fixes: 1f3b0ff8ec ("iwlwifi: mvm: Add Smart FIFO support") Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed