summaryrefslogtreecommitdiff
path: root/net/ipv4/inet_diag.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-11-21 21:46:24 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-11-21 21:46:24 (GMT)
commitf23aa62545c18728eb2b9434aa258be27e07dd49 (patch)
tree02dc20b820a91d396a6a08818b56733a4bcddb28 /net/ipv4/inet_diag.c
parent525c6465d449cdec04b3c91733e46027a4d08422 (diff)
downloadlinux-f23aa62545c18728eb2b9434aa258be27e07dd49.tar.xz
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 <dan.carpenter@oracle.com> Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_diag.c')
0 files changed, 0 insertions, 0 deletions