From: Dan Carpenter Date: Mon, 21 Nov 2011 21:46:24 +0000 (-0500) Subject: caif: fix endian conversion in cffrml_transmit() X-Git-Tag: v3.2-rc5~56^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f23aa62545c18728eb2b9434aa258be27e07dd49;p=pandora-kernel.git caif: fix endian conversion in cffrml_transmit() The "tmp" variable here is used to store the result of cpu_to_le16() so it should be an __le16 instead of an int. We want the high bits set and the current code works on little endian systems but not on big endian systems. Signed-off-by: Dan Carpenter Acked-by: Sjur Brændeland Signed-off-by: David S. Miller --- Reading git-diff-tree failed