]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[PATCH] Char: mxser, fix oops when removing opened
authorJiri Slaby <jirislaby@gmail.com>
Sat, 30 Dec 2006 00:47:34 +0000 (16:47 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:55:55 +0000 (10:55 -0800)
commit31f87cf48d54f5930e6e8e827989c18b0069c94a
tree7a9c9892a934aa41cd68bc3006500ed7d9a9efc3
parent76e6a1d6607e5b58003bb87e3b3220d5fdb7568d
[PATCH] Char: mxser, fix oops when removing opened

tty_driver->owner is not set, so if somebody remove mxser_module, it might
oops (and doesn't tell the user: no way, it's in use). Set the .owner value.

Cc: <osv@javad.com>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser.c
drivers/char/mxser_new.c