summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorJiri Slaby2010-11-25 00:27:55 +0100
committerGreg Kroah-Hartman2010-11-29 23:51:54 +0100
commit6a20bd45fda271bd57e3ba41b3de3009797f4b5e (patch)
treed0699ec589106045e082b8fd7035860b616d1cbd /drivers/tty/tty_io.c
parentTTY: ldisc, fix open flag handling (diff)
downloadkernel-qcow2-linux-6a20bd45fda271bd57e3ba41b3de3009797f4b5e.tar.gz
kernel-qcow2-linux-6a20bd45fda271bd57e3ba41b3de3009797f4b5e.tar.xz
kernel-qcow2-linux-6a20bd45fda271bd57e3ba41b3de3009797f4b5e.zip
NET: wan/x25, fix ldisc->open retval
We should never return positive values from ldisc->open, tty layer doesn't (and never did) expect that. If we do that, weird things like warnings in tty_ldisc_close happen. Not sure if dev->base_addr is used somehow now. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@linux.intel.com> Cc: Andrew Hendry <andrew.hendry@gmail.com> Cc: linux-x25@vger.kernel.org Tested-by: Sergey Lapin <slapin@ossfans.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/tty_io.c')
0 files changed, 0 insertions, 0 deletions