On 5/31/21 5:13 AM, Maurizio Lombardi wrote: > On realtime kernels, spin_lock_irq*(spinlock_t) do not > disable the interrupts, a call to irqs_disabled() > will return false thus firing a warning in __transport_wait_for_tasks() > > This patch removes the warning and also replaces assert_spin_locked > with lockdep_assert_held() Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>