cxgb4: Use ntohs() on __be16 value instead of htons()
authorRoland Dreier <rdreier@cisco.com>
Wed, 21 Apr 2010 08:09:21 +0000 (08:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Apr 2010 06:00:43 +0000 (23:00 -0700)
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>

No differences found