From: Joe Eykholt Date: Fri, 9 Apr 2010 21:22:39 +0000 (-0700) Subject: [SCSI] libfc: fix hton24 macro to take expressions as args X-Git-Tag: v2.6.35-rc1~470^2^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b2f74a47f2b10bd4c70324820a93c070b3960a5;p=pandora-kernel.git [SCSI] libfc: fix hton24 macro to take expressions as args hton24(p + 3, value) would fail to compile because p + 3[0] is not a valid expression. Went ahead and converted hton24 and ntoh24 to inline functions, which is better because the parameters are evalutated only once. Signed-off-by: Joe Eykholt Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed