commit | 1ff2c873ca11f9e6abffb004b908756b27597672 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dtor_core@ameritech.net> | Mon May 16 21:53:07 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Tue May 17 07:59:10 2005 -0700 |
tree | 0c231057e7d947882fcb33b5fa277ba08423a70b | |
parent | f3a5c73d5ecb40909db662c4d2ace497b25c5940 [diff] |
[PATCH] serport oops fix serport - avoid calling serio_interrupt or serio_write_wakeup on unregistered port. Also fix memory leak which could happen if serport was left unused by moving serio allocation down to serport_ldisc_read. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>