2.6.32-longterm review patch. If anyone has any objections, please let us know.
------------------ 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 <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> --- drivers/char/tty_ldisc.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/char/tty_ldisc.c +++ b/drivers/char/tty_ldisc.c @@ -451,6 +451,7 @@ static int tty_ldisc_open(struct tty_str ret = ld->ops->open(tty); if (ret) clear_bit(TTY_LDISC_OPEN, &tty->flags); + return ret; } return 0; } _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
