linux/drivers/tty
Peter Hurley 7da4b8b737 serial: core: Fix port mutex assert if lockdep disabled
commit 4047b37122 ("serial: core: Prevent unsafe uart port access,
part 1") added lockdep assertion for port mutex but fails to check
if debug_locks has disabled lockdep (so lock state is no longer
reliable).

Use lockdep_assert_held() instead, which properly checks lockdep
state as well.

Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-03 17:53:20 -07:00
..
hvc tty: hvc_console: silence unintialized variable warning 2016-04-30 09:26:55 -07:00
ipwireless tty: ipwireless: fix possible NULL dereference 2016-04-30 09:26:55 -07:00
serial serial: core: Fix port mutex assert if lockdep disabled 2016-05-03 17:53:20 -07:00
vt tty: vt, finish looping on duplicate 2016-05-03 15:59:15 -07:00
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c
goldfish.c
isicom.c
Kconfig
Makefile
metag_da.c
mips_ejtag_fdc.c
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
n_hdlc.c Fix OpenSSH pty regression on close 2016-05-01 13:22:54 -07:00
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c Fix OpenSSH pty regression on close 2016-05-01 13:22:54 -07:00
nozomi.c
pty.c Fix OpenSSH pty regression on close 2016-05-01 13:22:54 -07:00
rocket.c TTY: add __init attribute 2016-04-30 09:26:55 -07:00
rocket.h
rocket_int.h
synclink.c tty: synclink: remove unneeded test 2016-04-30 09:26:55 -07:00
synclink_gt.c
synclinkmp.c
sysrq.c
tty_audit.c
tty_buffer.c Fix OpenSSH pty regression on close 2016-05-01 13:22:54 -07:00
tty_io.c
tty_ioctl.c
tty_ldisc.c
tty_ldsem.c
tty_mutex.c
tty_port.c