Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233425
b: refs/heads/master
c: da1ab3e
h: refs/heads/master
i:
  233423: a42923d
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Feb 14, 2011
1 parent 9a16c26 commit 18df466
Show file tree
Hide file tree
Showing 2 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: 5b89db0e84bef81f6aa324f8f22a9258ff873de3
refs/heads/master: da1ab3e233eb1ff4116b178006a89ddca7dcd928
5 changes: 3 additions & 2 deletions trunk/drivers/atm/solos-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -866,8 +866,9 @@ static int popen(struct atm_vcc *vcc)
}

skb = alloc_skb(sizeof(*header), GFP_ATOMIC);
if (!skb && net_ratelimit()) {
dev_warn(&card->dev->dev, "Failed to allocate sk_buff in popen()\n");
if (!skb) {
if (net_ratelimit())
dev_warn(&card->dev->dev, "Failed to allocate sk_buff in popen()\n");
return -ENOMEM;
}
header = (void *)skb_put(skb, sizeof(*header));
Expand Down

0 comments on commit 18df466

Please sign in to comment.