Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: Use tty_debug() for tty_ldisc_debug()

Replace tty_ldisc_debug() macro definition; substitute with equivalent
tty_debug() invocation.

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

authored by

Peter Hurley and committed by
Greg Kroah-Hartman
0a6adc13 accff793

+1 -3
+1 -3
drivers/tty/tty_ldisc.c
··· 22 22 #undef LDISC_DEBUG_HANGUP 23 23 24 24 #ifdef LDISC_DEBUG_HANGUP 25 - #define tty_ldisc_debug(tty, f, args...) ({ \ 26 - printk(KERN_DEBUG "%s: %s: " f, __func__, tty_name(tty), ##args); \ 27 - }) 25 + #define tty_ldisc_debug(tty, f, args...) tty_debug(tty, f, ##args) 28 26 #else 29 27 #define tty_ldisc_debug(tty, f, args...) 30 28 #endif