Re: [PATCH] usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags
From: Felipe Balbi
Date: Thu Jan 16 2020 - 08:03:55 EST
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
--
balbi
Attachment:
signature.asc
Description: PGP signature