diff options
author | Kirill Smelkov <kirr@mns.spb.ru> | 2005-11-07 00:59:23 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 07:53:36 -0800 |
commit | 6f08b72cdd4b99a190c4e1fcddd63b401e5b572d (patch) | |
tree | b872d31a8f05f66fa3d00cf1271582dc0d354c7c /fs | |
parent | 64698b694db96b8db6f379de7d2040f61c6fc7bf (diff) | |
download | linux-6f08b72cdd4b99a190c4e1fcddd63b401e5b572d.tar.gz linux-6f08b72cdd4b99a190c4e1fcddd63b401e5b572d.tar.bz2 linux-6f08b72cdd4b99a190c4e1fcddd63b401e5b572d.zip |
[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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions