Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332900
b: refs/heads/master
c: cd9d116
h: refs/heads/master
v: v3
  • Loading branch information
Peter Senna Tschudin authored and David S. Miller committed Oct 7, 2012
1 parent e56fbd0 commit 234d201
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: cbd841ca91b4f87d62263f8d86af1b14a745c413
refs/heads/master: cd9d11607ebe106acab6cf3ad578e72c956823a1
4 changes: 3 additions & 1 deletion trunk/drivers/net/irda/sa1100_ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,10 @@ static int sa1100_irda_probe(struct platform_device *pdev)
goto err_mem_3;

dev = alloc_irdadev(sizeof(struct sa1100_irda));
if (!dev)
if (!dev) {
err = -ENOMEM;
goto err_mem_4;
}

SET_NETDEV_DEV(dev, &pdev->dev);

Expand Down

0 comments on commit 234d201

Please sign in to comment.