Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97596
b: refs/heads/master
c: ca61668
h: refs/heads/master
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed May 27, 2008
1 parent 4786232 commit 1d1ec92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 7ba2db5f38955907e46a65c9334d287cd3da32c2
refs/heads/master: ca61668b82a902143997794aae3f681a602e6ebc
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/ibmvscsi/ibmvscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ void ibmvscsi_handle_crq(struct viosrp_crq *crq,

del_timer(&evt_struct->timer);

if (crq->status != VIOSRP_OK && evt_struct->cmnd)
if ((crq->status != VIOSRP_OK && crq->status != VIOSRP_OK2) && evt_struct->cmnd)
evt_struct->cmnd->result = DID_ERROR << 16;
if (evt_struct->done)
evt_struct->done(evt_struct);
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/ibmvscsi/viosrp.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ enum viosrp_crq_status {
VIOSRP_VIOLATES_MAX_XFER = 0x2,
VIOSRP_PARTNER_PANIC = 0x3,
VIOSRP_DEVICE_BUSY = 0x8,
VIOSRP_ADAPTER_FAIL = 0x10
VIOSRP_ADAPTER_FAIL = 0x10,
VIOSRP_OK2 = 0x99,
};

struct viosrp_crq {
Expand Down

0 comments on commit 1d1ec92

Please sign in to comment.