From: Johan Hovold Date: Tue, 10 Sep 2013 10:50:50 +0000 (+0200) Subject: serial: pch_uart: fix tty-kref leak in dma-rx path X-Git-Tag: v3.2.52~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f31ab80a2bf09ea0e57c351842da1e647cfe9da;p=pandora-kernel.git serial: pch_uart: fix tty-kref leak in dma-rx path commit 19b85cfb190eb9980eaf416bff96aef4159a430e upstream. Fix tty_kref leak when tty_buffer_request room fails in dma-rx path. Note that the tty ref isn't really needed anymore, but as the leak has always been there, fixing it before removing should makes it easier to backport the fix. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed