[SCSI] Remove SUGGEST flags
The SUGGEST_* flags in the SCSI command result have been out of fashion for a while and we don't actually use them in the error handling. Remove the remaining occurrences. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:

committed by
James Bottomley

parent
5a9ef25b14
commit
1c9fbafc8c
@@ -1357,7 +1357,7 @@ lpfc_parse_bg_err(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd,
|
||||
|
||||
scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST,
|
||||
0x10, 0x1);
|
||||
cmd->result = (DRIVER_SENSE|SUGGEST_DIE) << 24
|
||||
cmd->result = DRIVER_SENSE << 24
|
||||
| ScsiResult(DID_ABORT, SAM_STAT_CHECK_CONDITION);
|
||||
phba->bg_guard_err_cnt++;
|
||||
printk(KERN_ERR "BLKGRD: guard_tag error\n");
|
||||
@@ -1368,7 +1368,7 @@ lpfc_parse_bg_err(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd,
|
||||
|
||||
scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST,
|
||||
0x10, 0x3);
|
||||
cmd->result = (DRIVER_SENSE|SUGGEST_DIE) << 24
|
||||
cmd->result = DRIVER_SENSE << 24
|
||||
| ScsiResult(DID_ABORT, SAM_STAT_CHECK_CONDITION);
|
||||
|
||||
phba->bg_reftag_err_cnt++;
|
||||
@@ -1380,7 +1380,7 @@ lpfc_parse_bg_err(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd,
|
||||
|
||||
scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST,
|
||||
0x10, 0x2);
|
||||
cmd->result = (DRIVER_SENSE|SUGGEST_DIE) << 24
|
||||
cmd->result = DRIVER_SENSE << 24
|
||||
| ScsiResult(DID_ABORT, SAM_STAT_CHECK_CONDITION);
|
||||
|
||||
phba->bg_apptag_err_cnt++;
|
||||
|
Reference in New Issue
Block a user