hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/scsi/isci/request.c
....@@ -2574,7 +2574,7 @@
25742574 if (!idev)
25752575 *status_ptr = SAS_DEVICE_UNKNOWN;
25762576 else
2577
- *status_ptr = SAM_STAT_TASK_ABORTED;
2577
+ *status_ptr = SAS_SAM_STAT_TASK_ABORTED;
25782578
25792579 clear_bit(IREQ_COMPLETE_IN_TARGET, &request->flags);
25802580 }
....@@ -2704,7 +2704,7 @@
27042704 default:
27052705 /* Task in the target is not done. */
27062706 *response_ptr = SAS_TASK_UNDELIVERED;
2707
- *status_ptr = SAM_STAT_TASK_ABORTED;
2707
+ *status_ptr = SAS_SAM_STAT_TASK_ABORTED;
27082708
27092709 if (task->task_proto == SAS_PROTOCOL_SMP)
27102710 set_bit(IREQ_COMPLETE_IN_TARGET, &request->flags);
....@@ -2727,7 +2727,7 @@
27272727 if (ac_err_mask(fis->status))
27282728 ts->stat = SAS_PROTO_RESPONSE;
27292729 else
2730
- ts->stat = SAM_STAT_GOOD;
2730
+ ts->stat = SAS_SAM_STAT_GOOD;
27312731
27322732 ts->resp = SAS_TASK_COMPLETE;
27332733 }
....@@ -2790,7 +2790,7 @@
27902790 case SCI_IO_SUCCESS_IO_DONE_EARLY:
27912791
27922792 response = SAS_TASK_COMPLETE;
2793
- status = SAM_STAT_GOOD;
2793
+ status = SAS_SAM_STAT_GOOD;
27942794 set_bit(IREQ_COMPLETE_IN_TARGET, &request->flags);
27952795
27962796 if (completion_status == SCI_IO_SUCCESS_IO_DONE_EARLY) {
....@@ -2860,7 +2860,7 @@
28602860
28612861 /* Fail the I/O. */
28622862 response = SAS_TASK_UNDELIVERED;
2863
- status = SAM_STAT_TASK_ABORTED;
2863
+ status = SAS_SAM_STAT_TASK_ABORTED;
28642864
28652865 clear_bit(IREQ_COMPLETE_IN_TARGET, &request->flags);
28662866 break;