aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla1280.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-07-04 11:48:36 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-08-02 12:43:46 -0400
commitd6db3e8d5fe3178776d0a0314e612c3f55e55fb4 (patch)
tree289e8979516098c7b970b4666a8a093c30b7977e /drivers/scsi/qla1280.c
parent2b55cac3d2d9f545c141748d00eae86e2c042ca5 (diff)
[SCSI] qla1280: use SAM_ constants
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thiemo Seufer <ths@linux-mips.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla1280.c')
-rw-r--r--drivers/scsi/qla1280.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index e5354550d762..3732230b2e3a 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -4049,7 +4049,7 @@ qla1280_status_entry(struct scsi_qla_host *ha, struct response *pkt,
4049 /* Save ISP completion status */ 4049 /* Save ISP completion status */
4050 CMD_RESULT(cmd) = qla1280_return_status(pkt, cmd); 4050 CMD_RESULT(cmd) = qla1280_return_status(pkt, cmd);
4051 4051
4052 if (scsi_status & SS_CHECK_CONDITION) { 4052 if (scsi_status & SAM_STAT_CHECK_CONDITION) {
4053 if (comp_status != CS_ARS_FAILED) { 4053 if (comp_status != CS_ARS_FAILED) {
4054 uint16_t req_sense_length = 4054 uint16_t req_sense_length =
4055 le16_to_cpu(pkt->req_sense_length); 4055 le16_to_cpu(pkt->req_sense_length);