commit | 6f08b72cdd4b99a190c4e1fcddd63b401e5b572d | [log] [tgz] |
---|---|---|
author | Kirill Smelkov <kirr@mns.spb.ru> | Mon Nov 07 00:59:23 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Nov 07 07:53:36 2005 -0800 |
tree | b872d31a8f05f66fa3d00cf1271582dc0d354c7c | |
parent | 64698b694db96b8db6f379de7d2040f61c6fc7bf [diff] |
[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 <kirr@mns.spb.ru> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>