fas216: return DID_ERROR for incomplete data transfer
commit279c43b30b82c8d509e4222ffdfa8b552a5f2a73
authorHannes Reinecke <hare@suse.de>
Fri, 24 Oct 2014 12:26:47 +0000 (24 14:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:15:59 +0000 (12 11:15 +0100)
treece0b03d0fd6325975b9100d6c08f01f769250bb6
parent2e120a5762a0f9c8dad25f04bdfdf374ff890d2e
fas216: return DID_ERROR for incomplete data transfer

fas216 returns DID_BAD_TARGET for an incomplete data
transfer. The midlayer uses DID_BAD_TARGET to signal
a non-existing or not reachable target. So we should
rather be using DID_ERROR here.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/arm/fas216.c