Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210608
b: refs/heads/master
c: 0374f55
h: refs/heads/master
v: v3
  • Loading branch information
Lalit Chandivade authored and James Bottomley committed Sep 5, 2010
1 parent f08b826 commit 977c0b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4142b1987f1f8ba90589642cb74566eaff3dc2e9
refs/heads/master: 0374f55ed882a46cd4825dde16ca2392d4c367f6
7 changes: 4 additions & 3 deletions trunk/drivers/scsi/qla2xxx/qla_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,19 +1706,20 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
cp->result = DID_ERROR << 16;
break;
}
} else if (!lscsi_status) {
} else {
DEBUG2(qla_printk(KERN_INFO, ha,
"scsi(%ld:%d:%d) Dropped frame(s) detected (0x%x "
"of 0x%x bytes).\n", vha->host_no, cp->device->id,
cp->device->lun, resid, scsi_bufflen(cp)));

cp->result = DID_ERROR << 16;
break;
cp->result = DID_ERROR << 16 | lscsi_status;
goto check_scsi_status;
}

cp->result = DID_OK << 16 | lscsi_status;
logit = 0;

check_scsi_status:
/*
* Check to see if SCSI Status is non zero. If so report SCSI
* Status.
Expand Down

0 comments on commit 977c0b9

Please sign in to comment.