Re: [PATCH] usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags

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

 



On Thu, 2020-01-16 at 15:04 +0200, Felipe Balbi wrote:
> [External]
> 
> 
> Hi,
> 
> "Ardelean, Alexandru" <alexandru.Ardelean@xxxxxxxxxx> writes:
> 
> > On Wed, 2019-11-06 at 14:02 +0200, Alexandru Ardelean wrote:
> > > From: Lars-Peter Clausen <lars@xxxxxxxxxx>
> > > 
> > > ffs_aio_cancel() can be called from both interrupt and thread
> > > context.
> > > Make
> > > sure that the current IRQ state is saved and restored by using
> > > spin_{un,}lock_irq{save,restore}().
> > > 
> > > Otherwise undefined behavior might occur.
> > 
> > Hey,
> > 
> > This is a patch-ping.
> 
> Please read:
> 
> https://lore.kernel.org/linux-usb/875zhd6pw0.fsf@xxxxxxxxxx/T/#u
> 
> We're gonna need a resend, sorry
> 

Ack.

Thanks for the reply.
Will re-send.




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux