]> Pileus Git - ~andy/linux/commit
[SCSI] hpsa: allow SCSI mid layer to handle unit attention
authorMatt Gates <matthew.gates@hp.com>
Wed, 4 Dec 2013 23:10:36 +0000 (17:10 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Dec 2013 04:56:30 +0000 (20:56 -0800)
commit3ce438df106826edde7ad724f3819716a3f0cf56
tree3cfd390bb4d67907f0d9f1c4ed145beb3d19eb0c
parent0ddf1d77505fd97daa7fc70bb0498c54a5c33725
[SCSI] hpsa: allow SCSI mid layer to handle unit attention

We were clobbering the SCSI status and setting
cmd->result = DID_SOFT_ERROR << 16; to get a retry,
but better to let the mid layer handle the unit
attention.

Signed-off-by: Matt Gates <matthew.gates@hp.com>
Acked-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.c