Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263331
b: refs/heads/master
c: 7e8aa04
h: refs/heads/master
i:
  263329: e82a93d
  263327: 5b29272
v: v3
  • Loading branch information
Thomas Meyer authored and Linus Torvalds committed Aug 25, 2011
1 parent e0dffe5 commit 1fa5ef4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 30ecad51849ae132dc6ef6ddb62d499c7257515b
refs/heads/master: 7e8aa048989bf7e0604996a3e2068fb1a81f81bd
5 changes: 2 additions & 3 deletions trunk/drivers/char/msm_smd_pkt.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,8 @@ static int __init smd_pkt_init(void)
for (i = 0; i < NUM_SMD_PKT_PORTS; ++i) {
smd_pkt_devp[i] = kzalloc(sizeof(struct smd_pkt_dev),
GFP_KERNEL);
if (IS_ERR(smd_pkt_devp[i])) {
r = PTR_ERR(smd_pkt_devp[i]);
pr_err("kmalloc() failed %d\n", r);
if (!smd_pkt_devp[i]) {
pr_err("kmalloc() failed\n");
goto clean_cdevs;
}

Expand Down

0 comments on commit 1fa5ef4

Please sign in to comment.