summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-22 10:34:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-22 10:34:25 +0100
commit244eb5c6ec62ccab59ecac1f4815bb33130c423a (patch)
treeb864907863100dfdbfd79f4a0db6f8cff611b6f0
parent651dee03696e1dfde6d9a7e8664bbdcd9a10ea7f (diff)
Revert "serial: 8250: Revert "drop lockdep annotation from serial8250_clear_IER()""
This reverts commit 422c9727b07f9f86e2ec11c56622e566221591cc. 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>
-rw-r--r--drivers/tty/serial/8250/8250_port.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c
index 76a8d74f16e8..08466cf10d73 100644
--- a/drivers/tty/serial/8250/8250_port.c
+++ b/drivers/tty/serial/8250/8250_port.c
@@ -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);
}