Commit 422c9727 authored by John Ogness's avatar John Ogness Committed by Greg Kroah-Hartman
Browse files

serial: 8250: Revert "drop lockdep annotation from serial8250_clear_IER()"



The 8250 driver no longer depends on @oops_in_progress and
will no longer violate the port->lock locking constraints.

This reverts commit 3d9e6f55.

Signed-off-by: default avatarJohn Ogness <john.ogness@linutronix.de>
Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20250107212702.169493-7-john.ogness@linutronix.de


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b63e6f60
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -726,6 +726,9 @@ static void __serial8250_clear_IER(struct uart_8250_port *up)

static inline void serial8250_clear_IER(struct uart_8250_port *up)
{
	/* Port locked to synchronize UART_IER access against the console */
	lockdep_assert_held_once(&up->port.lock);

	__serial8250_clear_IER(up);
}