Stephen M. Cameron 3fa89a04e0 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>
2014-07-25 17:16:59 -04:00
..
2014-07-10 21:04:25 +02:00
2014-07-17 22:07:37 +02:00
2014-06-23 16:47:44 -07:00
2014-07-09 16:45:36 -07:00
2014-05-27 17:38:11 -07:00
2014-06-26 13:34:15 +01:00
2014-06-25 12:19:01 -07:00
2014-07-12 14:13:10 -07:00
2014-06-17 15:43:48 -07:00
2014-06-11 14:06:55 -07:00
2014-06-02 16:35:49 -07:00
2014-07-17 22:07:37 +02:00
2014-06-06 11:44:09 -07:00
2014-05-26 21:27:09 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-06-26 10:48:23 +01:00
2014-07-11 17:43:13 -07:00
2014-07-17 22:07:37 +02:00
2014-06-23 09:22:48 +03:00
2014-07-01 13:18:38 +03:00
2014-07-17 08:02:35 -10:00