Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360217
b: refs/heads/master
c: 50e9291
h: refs/heads/master
i:
  360215: 2aadb65
v: v3
  • Loading branch information
Dan Carpenter authored and James Bottomley committed Feb 22, 2013
1 parent c65e959 commit 57f6ce5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 7c237c5f6d5c62724ccd82aecdcd1fd9bd71dc75
refs/heads/master: 50e9291578886099888b8169459c6f97626ccbfc
6 changes: 2 additions & 4 deletions trunk/drivers/scsi/qla4xxx/ql4_mbx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1420,10 +1420,8 @@ int qla4xxx_get_chap(struct scsi_qla_host *ha, char *username, char *password,
dma_addr_t chap_dma;

chap_table = dma_pool_alloc(ha->chap_dma_pool, GFP_KERNEL, &chap_dma);
if (chap_table == NULL) {
ret = -ENOMEM;
goto exit_get_chap;
}
if (chap_table == NULL)
return -ENOMEM;

chap_size = sizeof(struct ql4_chap_table);
memset(chap_table, 0, chap_size);
Expand Down

0 comments on commit 57f6ce5

Please sign in to comment.