public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] aic94xx: fix SSP IU status print-out
@ 2007-09-30 14:03 Jeff Garzik
  2007-10-02 12:29 ` Jeff Garzik
  0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2007-09-30 14:03 UTC (permalink / raw)
  To: linux-scsi


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>
---
 drivers/scsi/aic94xx/aic94xx_task.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/aic94xx/aic94xx_task.c b/drivers/scsi/aic94xx/aic94xx_task.c
index ab13824..f2b23e0 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 {

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-10-02 17:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-30 14:03 [PATCH] aic94xx: fix SSP IU status print-out Jeff Garzik
2007-10-02 12:29 ` Jeff Garzik
2007-10-02 14:20   ` James Bottomley
2007-10-02 14:35     ` Jeff Garzik
2007-10-02 14:46       ` James Bottomley
2007-10-02 14:48         ` Jeff Garzik
2007-10-02 15:00           ` James Bottomley
2007-10-02 17:11             ` Jeff Garzik
2007-10-02 17:26               ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox