From: Guennadi Liakhovetski Date: Fri, 4 May 2007 20:59:40 +0000 (+0200) Subject: [SCSI] tmscsim: remove bogus endianness conversions X-Git-Tag: v2.6.22-rc1~345^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46e5ba2b644d1c7be1253ec32e7cd6ab1dcdf790;p=pandora-kernel.git [SCSI] tmscsim: remove bogus endianness conversions cpu_to_le32 endianness conversions in tmscsim.c, followed by arithmetic operations don't look correct. Besides, {in,out}[wl] already perform the necessary conversions. Further, bus addresses of request buffers are guaranteed to be (mapped) under 4G by current scsi- and block-layer defaults. This could be explicitly enforced by using blk_queue_bounce_limit(), which, however, doesn't seem to be the common practice among SCSI drivers. Signed-off-by: G. Liakhovetski Signed-off-by: James Bottomley --- Reading git-diff-tree failed