Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23593
b: refs/heads/master
c: 1f4d4a8
h: refs/heads/master
i:
  23591: 6373379
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Mar 25, 2006
1 parent e8c7eca commit b76611d
Show file tree
Hide file tree
Showing 2 changed files with 5 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: daff89f324755f87a060d5125a205c0755811ea9
refs/heads/master: 1f4d4a80fbcb1e09cfb95660bcd2b677ea6d04c1
5 changes: 4 additions & 1 deletion trunk/drivers/isdn/i4l/isdn_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -2345,12 +2345,15 @@ isdn_tty_at_cout(char *msg, modem_info * info)
u_long flags;
struct sk_buff *skb = NULL;
char *sp = NULL;
int l = strlen(msg);
int l;

if (!msg) {
printk(KERN_WARNING "isdn_tty: Null-Message in isdn_tty_at_cout\n");
return;
}

l = strlen(msg);

spin_lock_irqsave(&info->readlock, flags);
tty = info->tty;
if ((info->flags & ISDN_ASYNC_CLOSING) || (!tty)) {
Expand Down

0 comments on commit b76611d

Please sign in to comment.