From: Will Newton Date: Mon, 1 Dec 2008 11:36:06 +0000 (+0000) Subject: drivers/char/tty_io.c: Avoid panic when no console is configured. X-Git-Tag: v2.6.28-rc7~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=296fa7f6a3f3342d40df7713e74246198295654b;p=pandora-kernel.git drivers/char/tty_io.c: Avoid panic when no console is configured. When no console is configured tty_open tries to call kref_get on a NULL pointer, return ENODEV instead. Signed-off-by: Will Newton Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed