]> git.karo-electronics.de Git - karo-tx-linux.git/commit
TTY: Fix error return from tty_ldisc_open()
authorBen Hutchings <ben@decadent.org.uk>
Sat, 11 Dec 2010 05:51:39 +0000 (05:51 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 22:43:01 +0000 (14:43 -0800)
commit6db0ed1582b1eae8b1120de4494cafc9635fdc3f
treefa552f726c246a2991af2fc6b454fcaaff4ec184
parenta386bf75dea7208041b5d4b8d44726876e28ee4b
TTY: Fix error return from tty_ldisc_open()

The backported version of "TTY: ldisc, fix open flag handling" in
2.6.32.27 causes tty_ldisc_open() to return 0 on error.  Fix that.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tty_ldisc.c