diff options
author | Roland Dreier <rdreier@cisco.com> | 2010-04-21 08:09:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-21 23:00:43 -0700 |
commit | 62718b328f972f1559feb96dfccc15fc9f4c9a2c (patch) | |
tree | ff023fa05fdf3b03c0c46d9bc97632a7e341e451 /security | |
parent | b002a861092b0db128800794a116cc3acc5ec239 (diff) | |
download | kernel_samsung_crespo-62718b328f972f1559feb96dfccc15fc9f4c9a2c.zip kernel_samsung_crespo-62718b328f972f1559feb96dfccc15fc9f4c9a2c.tar.gz kernel_samsung_crespo-62718b328f972f1559feb96dfccc15fc9f4c9a2c.tar.bz2 |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions