From: Kirill Smelkov Date: Mon, 7 Nov 2005 08:59:23 +0000 (-0800) Subject: [PATCH] serial moxa: fix wrong BUG X-Git-Tag: v2.6.15-rc1~627 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f08b72cdd4b99a190c4e1fcddd63b401e5b572d;p=pandora-kernel.git [PATCH] serial moxa: fix wrong BUG There is a wrong BUG in mxser_close. The BUG is triggered when tty->driver_data == NULL, But in fact this is not a bug, because tty->driver->close is called even when tty->driver->open fails. LDD3 tells us to do nothing in such cases. Signed-off-by: Kirill Smelkov Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed