diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2014-11-17 09:51:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-18 20:19:32 (GMT) |
commit | e453789a66ab152ecee80ded3279539d826c48ed (patch) | |
tree | f0bf1b8cfa8c9a3b0d9ea1654a427b80a6bc34a9 /drivers/tty/ipwireless | |
parent | 6b7e4008389c8cb8140a9aef424b10048c44da39 (diff) | |
download | linux-e453789a66ab152ecee80ded3279539d826c48ed.tar.xz |
net: fec: use swab32s() instead of cpu_to_be32()
when swap_buffer() is being called, we know for sure, that we need to
byte swap the data. Furthermore, this function is called for swapping
data in both directions. Thus cpu_to_be32() is semantically not
correct for all use cases. Use swab32s() to reflect this.
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tty/ipwireless')
0 files changed, 0 insertions, 0 deletions