projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52856ed
)
ldisc: debug aids
author
Alan Cox
<alan@linux.intel.com>
Tue, 16 Jun 2009 16:00:53 +0000
(17:00 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 16 Jun 2009 19:01:16 +0000
(12:01 -0700)
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_ldisc.c
patch
|
blob
|
history
diff --git
a/drivers/char/tty_ldisc.c
b/drivers/char/tty_ldisc.c
index
874c248
..
a19e935
100644
(file)
--- a/
drivers/char/tty_ldisc.c
+++ b/
drivers/char/tty_ldisc.c
@@
-207,6
+207,7
@@
static void tty_ldisc_put(struct tty_ldisc *ld)
ldo->refcount--;
module_put(ldo->owner);
spin_unlock_irqrestore(&tty_ldisc_lock, flags);
+ WARN_ON(ld->refcount);
kfree(ld);
}