diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-04-06 18:34:10 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 23:36:33 +0200 |
commit | 0326e6d596491db64d787136cbd703bde0ee8d77 (patch) | |
tree | 4eca69db77dbfd32d1b59dc2239f65046c8aa3ae /drivers/serial/jsm/jsm_driver.c | |
parent | tty: moxa, fix refcounting in moxa_poll_port (diff) | |
download | linux-0326e6d596491db64d787136cbd703bde0ee8d77.tar.xz linux-0326e6d596491db64d787136cbd703bde0ee8d77.zip |
mxser: remove tty_port_tty_get from mxser_check_modem_status
mxser_check_modem_status is called with tty parameter, so the
reference should be increased by callers already -- for ioctl
syscall it is held whole time gap since open to close, for
interrupt, the reference count is increased in the irq handler.
There is no tty_kref_put in that function, so this also fixes
a refcounting bug.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/jsm/jsm_driver.c')
0 files changed, 0 insertions, 0 deletions