From: Roland Dreier Date: Wed, 21 Apr 2010 08:09:21 +0000 (+0000) Subject: cxgb4: Use ntohs() on __be16 value instead of htons() X-Git-Tag: v2.6.35-rc1~473^2~420 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62718b328f972f1559feb96dfccc15fc9f4c9a2c;p=pandora-kernel.git 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 Acked-by: Dimitris Michailidis Signed-off-by: David S. Miller --- Reading git-diff-tree failed