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

This reverts commit 422c9727b0.

kernel test robot has found problems with this commit so revert it for
now.

Link: https://lore.kernel.org/r/202501221029.fb0d574d-lkp@intel.com
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202501221029.fb0d574d-lkp@intel.com
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Petr Mladek <pmladek@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2025-01-22 10:34:25 +01:00
parent 651dee0369
commit 244eb5c6ec

View File

@ -726,9 +726,6 @@ 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);
}