Re: [PATCH] target: fix warning on realtime kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 31 May 2021 14:13:26 +0200, 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()

Applied to 5.13/scsi-fixes, thanks!

[1/1] target: fix warning on realtime kernels
      https://git.kernel.org/mkp/scsi/c/515da6f4295c

-- 
Martin K. Petersen	Oracle Linux Engineering



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux