]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/iser: Don't change itt endianness
authorErez Zilber <erezz@voltaire.com>
Thu, 17 Apr 2008 04:09:35 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:35 +0000 (21:09 -0700)
commit0a22ab92f51478796d5f3997f4f5922409c98b10
tree97bf48294f96cb4cf00f565c08f7538e77f974c2
parent068c4ea1bb9ef733961d3d7a104fa9250ba80087
IB/iser: Don't change itt endianness

The itt field in struct iscsi_data is not defined with any particular
endianness.  open-iscsi should use it as-is without byte-swapping it.
This fixes sparse warnings coming from doing ntohl(hdr->itt).

Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/iser/iser_initiator.c