projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536a344
)
TTY: tty3270, free tty driver properly
author
Jiri Slaby
<
[email protected]
>
Tue, 7 Aug 2012 19:47:41 +0000
(21:47 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 10 Aug 2012 20:29:57 +0000
(13:29 -0700)
On module unload, in tty3270_exit, we forgot to free the tty driver.
Add there a call to put_tty_driver.
Signed-off-by: Jiri Slaby <
[email protected]
>
Cc: Martin Schwidefsky <
[email protected]
>
Cc: Heiko Carstens <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/s390/char/tty3270.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/tty3270.c
b/drivers/s390/char/tty3270.c
index 1928f3458d10f197bb15b7a75da7d685b33da4e1..215037c745ca0880b38877ed6ddc4ab41504e609 100644
(file)
--- a/
drivers/s390/char/tty3270.c
+++ b/
drivers/s390/char/tty3270.c
@@
-1800,6
+1800,7
@@
tty3270_exit(void)
driver = tty3270_driver;
tty3270_driver = NULL;
tty_unregister_driver(driver);
+ put_tty_driver(driver);
tty3270_del_views();
}