tty: core: Improve debug message content
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 13 Jul 2015 02:49:07 +0000 (22:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 01:31:29 +0000 (18:31 -0700)
commit3a6b02dc1f1b37fe2e9c86c00edf07c04bed9fab
tree91c7ea9b303e3bf36589c387168e99eae60f7e35
parent4fef53518f9b4813043bdb48b70bd9fbf4ad2597
tty: core: Improve debug message content

Output the function name, tty name, and invariant failure (if applicable).
Add the tty count to the tty_open() message. Fix the disassociate_ctty()
message, which printed the NULL pointer and the wrong message.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c