commit | 62718b328f972f1559feb96dfccc15fc9f4c9a2c | [log] [tgz] |
---|---|---|
author | Roland Dreier <rdreier@cisco.com> | Wed Apr 21 08:09:21 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 21 23:00:43 2010 -0700 |
tree | ff023fa05fdf3b03c0c46d9bc97632a7e341e451 | |
parent | b002a861092b0db128800794a116cc3acc5ec239 [diff] |
cxgb4: Use ntohs() on __be16 value instead of htons() Use the correct direction of byte-swapping function to fix a mistake shown by sparse endianness checking -- c.fl0id is __be16. Signed-off-by: Roland Dreier <rolandd@cisco.com> Acked-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>