Просмотр исходного кода

[SCSI] aic94xx: fix SSP IU status print-out

The SSP response DPRINTK in asd_get_response_tasklet() was printing
a hardcoded status result, rather than the status from the SSP
response IU.

Arguably, this should not be a DPRINTK either, since the admin might
want to know about this.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Jeff Garzik 17 лет назад
Родитель
Сommit
8bd4578e10
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      drivers/scsi/aic94xx/aic94xx_task.c

+ 1 - 1
drivers/scsi/aic94xx/aic94xx_task.c

@@ -207,7 +207,7 @@ static void asd_get_response_tasklet(struct asd_ascb *ascb,
 					    "stat(0x%x) is not CHECK_CONDITION"
 					    "stat(0x%x) is not CHECK_CONDITION"
 					    "\n",
 					    "\n",
 					    SAS_ADDR(task->dev->sas_addr),
 					    SAS_ADDR(task->dev->sas_addr),
-					    ts->stat);
+					    iu->status);
 			}
 			}
 		}
 		}
 	}  else {
 	}  else {