Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34103
b: refs/heads/master
c: 87fd772
h: refs/heads/master
i:
  34101: 91591ed
  34099: 2bc4b37
  34095: 906e63c
v: v3
  • Loading branch information
Olof Johansson authored and Paul Mackerras committed Sep 13, 2006
1 parent 0dcd653 commit d9a14e9
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 06e6d290ac7a9fb6fcec3a2207988163709f06aa
refs/heads/master: 87fd7724d4022913ae8dbee3ed55cd04f2c316a6
4 changes: 1 addition & 3 deletions trunk/drivers/char/hvc_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,8 @@ static int hvc_open(struct tty_struct *tty, struct file * filp)
struct kobject *kobjp;

/* Auto increments kobject reference if found. */
if (!(hp = hvc_get_by_index(tty->index))) {
printk(KERN_WARNING "hvc_console: tty open failed, no vty associated with tty.\n");
if (!(hp = hvc_get_by_index(tty->index)))
return -ENODEV;
}

spin_lock_irqsave(&hp->lock, flags);
/* Check and then increment for fast path open. */
Expand Down

0 comments on commit d9a14e9

Please sign in to comment.