Files
linux/drivers/tty/serial
Ahmed S. Darwish a157270fbf serial: core: Remove BUG_ON(in_interrupt()) check
The usage of in_interrupt() in drivers is phased out for various
reasons.

In both exported functions where BUG_ON(in_interrupt()) is invoked,
there is a mutex_lock() afterwards. mutex_lock() contains a
might_sleep() which will already trigger a stack trace if the target
functions is called from atomic context.

Remove the BUG_ON() and add a "Context: " in the kernel-doc instead.

Signed-off-by: Ahmed S. Darwish <a.darwish@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20210208181615.381861-3-bigeasy@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-09 11:45:04 +01:00
..
2020-10-28 13:39:14 +01:00
2020-08-31 07:19:25 +02:00
2020-07-20 09:39:11 +02:00
2020-10-05 13:32:30 +02:00
2020-08-18 13:51:18 +02:00
2020-09-27 14:17:43 +02:00
2019-12-18 15:04:57 +01:00
2020-04-16 16:13:34 +02:00
2021-01-07 18:02:13 -08:00