]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[SCSI] mpt2sas: Return the correct sense key for DIF errors
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 28 Aug 2012 18:29:36 +0000 (14:29 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:11:00 +0000 (12:11 +0400)
commit9b5cd13249af3eb023ee7ba9ff63c16c25488d03
tree3fc598ed27cc2dde4e76df26364c32f2407a107a
parentd974e4265dbd35db118c318176727ecb7f469de3
[SCSI] mpt2sas: Return the correct sense key for DIF errors

Only a target device should return ABORTED COMMAND when a PI error is
discovered. The HBA should always set the sense key to ILLEGAL REQUEST.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: "Sreekanth Reddy" <Sreekanth.reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c