diff options
Diffstat (limited to 'drivers/scsi/libsas/sas_ata.c')
-rw-r--r-- | drivers/scsi/libsas/sas_ata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c index 827cfb132f21..0996f866f14c 100644 --- a/drivers/scsi/libsas/sas_ata.c +++ b/drivers/scsi/libsas/sas_ata.c | |||
@@ -498,7 +498,7 @@ static int sas_execute_task(struct sas_task *task, void *buffer, int size, | |||
498 | goto ex_err; | 498 | goto ex_err; |
499 | } | 499 | } |
500 | wait_for_completion(&task->completion); | 500 | wait_for_completion(&task->completion); |
501 | res = -ETASK; | 501 | res = -ECOMM; |
502 | if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { | 502 | if (task->task_state_flags & SAS_TASK_STATE_ABORTED) { |
503 | int res2; | 503 | int res2; |
504 | SAS_DPRINTK("task aborted, flags:0x%x\n", | 504 | SAS_DPRINTK("task aborted, flags:0x%x\n", |