Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167249
b: refs/heads/master
c: c7922a9
h: refs/heads/master
i:
  167247: 96cf02b
v: v3
  • Loading branch information
Anirban Chakraborty authored and James Bottomley committed Oct 2, 2009
1 parent ef71afc commit aead595
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2c2ed8bfd899b84ecbf71d28fcc2cc4ace36c8d9
refs/heads/master: c7922a911c42c5a8bdee6cc75eb6bd66937d4217
6 changes: 4 additions & 2 deletions trunk/drivers/scsi/qla2xxx/qla_mid.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options,
if (req == NULL) {
qla_printk(KERN_WARNING, ha, "could not allocate memory"
"for request que\n");
goto que_failed;
goto failed;
}

req->length = REQUEST_ENTRY_CNT_24XX;
Expand Down Expand Up @@ -632,6 +632,7 @@ qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options,

que_failed:
qla25xx_free_req_que(base_vha, req);
failed:
return 0;
}

Expand Down Expand Up @@ -659,7 +660,7 @@ qla25xx_create_rsp_que(struct qla_hw_data *ha, uint16_t options,
if (rsp == NULL) {
qla_printk(KERN_WARNING, ha, "could not allocate memory for"
" response que\n");
goto que_failed;
goto failed;
}

rsp->length = RESPONSE_ENTRY_CNT_MQ;
Expand Down Expand Up @@ -728,6 +729,7 @@ qla25xx_create_rsp_que(struct qla_hw_data *ha, uint16_t options,

que_failed:
qla25xx_free_rsp_que(base_vha, rsp);
failed:
return 0;
}

Expand Down

0 comments on commit aead595

Please sign in to comment.