diff options
| author | Bart Van Assche <[email protected]> | 2021-05-24 02:54:55 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-06-02 20:10:46 +0000 |
| commit | d377f415dddc18b33c88dcd41cfe4fe6d9db82fb (patch) | |
| tree | ad098735e63da4ac386a69ab56f12ee609156e22 /drivers/scsi/libsas/sas_expander.c | |
| parent | Merge branch '5.14/scsi-result' into 5.14/scsi-staging (diff) | |
| download | kernel-d377f415dddc18b33c88dcd41cfe4fe6d9db82fb.tar.gz kernel-d377f415dddc18b33c88dcd41cfe4fe6d9db82fb.zip | |
scsi: libsas: Introduce more SAM status code aliases in enum exec_status
This patch prepares for converting SAM status codes into an enum. Without
this patch converting SAM status codes into an enumeration type would
trigger complaints about enum type mismatches for the SAS code.
Link: https://lore.kernel.org/r/[email protected]
Cc: Hannes Reinecke <[email protected]>
Cc: Artur Paszkiewicz <[email protected]>
Cc: Jason Yan <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_expander.c')
| -rw-r--r-- | drivers/scsi/libsas/sas_expander.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c index 6d583e8c403a..e00688540219 100644 --- a/drivers/scsi/libsas/sas_expander.c +++ b/drivers/scsi/libsas/sas_expander.c @@ -101,7 +101,7 @@ static int smp_execute_task_sg(struct domain_device *dev, } } if (task->task_status.resp == SAS_TASK_COMPLETE && - task->task_status.stat == SAM_STAT_GOOD) { + task->task_status.stat == SAS_SAM_STAT_GOOD) { res = 0; break; } |
