summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic94xx/aic94xx_task.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-09-30 10:03:17 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:52:30 -0400
commit8bd4578e10f8f7973ae3e8dde66b7bd369b271b8 (patch)
tree14bbde288922ae5feffb106fe15df8057bb6b0dd /drivers/scsi/aic94xx/aic94xx_task.c
parentab37128797148edb5993d98b638d668f75ee5119 (diff)
downloadlwn-8bd4578e10f8f7973ae3e8dde66b7bd369b271b8.tar.gz
lwn-8bd4578e10f8f7973ae3e8dde66b7bd369b271b8.zip
[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>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_task.c')
-rw-r--r--drivers/scsi/aic94xx/aic94xx_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_task.c b/drivers/scsi/aic94xx/aic94xx_task.c
index d5d8caba3560..4c759ce3b4a8 100644
--- a/drivers/scsi/aic94xx/aic94xx_task.c
+++ b/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"
"\n",
SAS_ADDR(task->dev->sas_addr),
- ts->stat);
+ iu->status);
}
}
} else {