]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
ftdi_sio: fix kref leak
authorJim Paris <jim@jtan.com>
Thu, 15 Jan 2009 13:31:07 +0000 (13:31 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Jan 2009 20:48:36 +0000 (12:48 -0800)
commita9fec7102f01f6464b19e13ffd9d8c48663379ad
treedb25d21c6880b34a340ccd08071e9c0084c66ba9
parentcd1e40f0981e22018373307cd4087dc876b08fb0
ftdi_sio: fix kref leak

Commit 4a90f09b20f4622dcbff1f0e1e6bae1704f8ad8c added kref stuff to
ftdi_sio, but missed tty_kref_put at one exit point in
ftdi_process_read.

Signed-off-by: Jim Paris <jim@jtan.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/ftdi_sio.c