Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332897
b: refs/heads/master
c: 8728647
h: refs/heads/master
i:
  332895: ac25d00
v: v3
  • Loading branch information
Peter Senna Tschudin authored and David S. Miller committed Oct 7, 2012
1 parent a6307ce commit c3b6c26
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: 0968a9d1c8f1d0d91e64faf49f6b1ef4f8775aa6
refs/heads/master: 87286477c4688e5324e24916a1b2da4972ea84ba
4 changes: 3 additions & 1 deletion trunk/drivers/net/irda/irtty-sir.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,10 @@ static int irtty_open(struct tty_struct *tty)

/* allocate private device info block */
priv = kzalloc(sizeof(*priv), GFP_KERNEL);
if (!priv)
if (!priv) {
ret = -ENOMEM;
goto out_put;
}

priv->magic = IRTTY_MAGIC;
priv->tty = tty;
Expand Down

0 comments on commit c3b6c26

Please sign in to comment.