Skip to content
Commit 62718b32 authored by Roland Dreier's avatar Roland Dreier Committed by David S. Miller
Browse files

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: default avatarRoland Dreier <rolandd@cisco.com>
Acked-by: default avatarDimitris Michailidis <dm@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b002a861
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment