+9
−6
Loading
When no console is configured tty_open tries to call kref_get on a NULL pointer, return ENODEV instead. Signed-off-by:Will Newton <will.newton@gmail.com> Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>