From: Jiri Slaby Date: Wed, 24 Nov 2010 23:27:55 +0000 (+0100) Subject: NET: wan/x25, fix ldisc->open retval X-Git-Tag: v2.6.37-rc5~30^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a20bd45fda271bd57e3ba41b3de3009797f4b5e;p=pandora-kernel.git 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 Cc: Alan Cox Cc: Andrew Hendry Cc: linux-x25@vger.kernel.org Tested-by: Sergey Lapin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed