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

From: Ardelean, Alexandru
Date: Thu Jan 16 2020 - 08:06:10 EST


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.