Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284325
b: refs/heads/master
c: c40701e
h: refs/heads/master
i:
  284323: c43e296
v: v3
  • Loading branch information
Jesper Juhl authored and John W. Linville committed Jan 10, 2012
1 parent 275a2ed commit 7a90974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: e4922f2b5f1c2b3daa80b56a6eeca984cbee0dde
refs/heads/master: c40701eacbaebcfe3fb6fac8ef3da653021c212c
4 changes: 3 additions & 1 deletion trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3119,8 +3119,10 @@ static int brcmf_sdbrcm_write_vars(struct brcmf_sdio *bus)
/* Verify NVRAM bytes */
brcmf_dbg(INFO, "Compare NVRAM dl & ul; varsize=%d\n", varsize);
nvram_ularray = kmalloc(varsize, GFP_ATOMIC);
if (!nvram_ularray)
if (!nvram_ularray) {
kfree(vbuffer);
return -ENOMEM;
}

/* Upload image to verify downloaded contents. */
memset(nvram_ularray, 0xaa, varsize);
Expand Down

0 comments on commit 7a90974

Please sign in to comment.