From: Stephen M. Cameron Date: Thu, 3 Jul 2014 15:18:14 +0000 (-0500) Subject: hpsa: fix 6-byte READ/WRITE with 0 length data xfer X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fa89a04e064e586df4ed3208a8e62012a65b17f;p=pandora-kernel.git hpsa: fix 6-byte READ/WRITE with 0 length data xfer a 6-byte READ/WRITE CDB with a 0 block data transfer really means a 256 block data transfer. The RAID mapping code failed to handle this case. For 10/12/16 byte READ/WRITEs, 0 just means no data should be transferred, and should not trigger BUG_ON. Signed-off-by: Stephen M. Cameron Reported-by: Robert Elliott Reviewed-by: Robert Elliott Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed