We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63e6f6 commit 422c972Copy full SHA for 422c972
drivers/tty/serial/8250/8250_port.c
@@ -726,6 +726,9 @@ static void __serial8250_clear_IER(struct uart_8250_port *up)
726
727
static inline void serial8250_clear_IER(struct uart_8250_port *up)
728
{
729
+ /* Port locked to synchronize UART_IER access against the console */
730
+ lockdep_assert_held_once(&up->port.lock);
731
+
732
__serial8250_clear_IER(up);
733
}
734
0 commit comments