Home
last modified time | relevance | path

Searched hist:"3 fa89a04e064e586df4ed3208a8e62012a65b17f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dhpsa.cdiff 3fa89a04e064e586df4ed3208a8e62012a65b17f Thu Jul 03 10:18:14 CDT 2014 Stephen M. Cameron <scameron@beardog.cce.hp.com> 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 <scameron@beardog.cce.hp.com>
Reported-by: Robert Elliott <elliott@hp.com>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>