]> err.no Git - linux-2.6/commit
[PATCH] epca: prevent panic on tty_register_driver() failure
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 17 Oct 2006 07:10:28 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:48 +0000 (08:18 -0700)
commitdabad0568a5935e9f4903f5fd1d8f22b1c7c88c7
tree8f095cf80e83c01b3262451fc1c91b4ee22ff26f
parentea6f94dfe9db4d19a39e774cfafa5c9428a9fdbc
[PATCH] epca: prevent panic on tty_register_driver() failure

Make epca fail on initialization failure instead of panic.

Cc: "Digi International, Inc" <Eng.Linux@digi.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Alan Cox <alan@redhat.com>
Acked-by: Scott Kilau <scottk@digi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/epca.c