aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2020-01-16 15:29:01 +0200
committerFelipe Balbi <balbi@kernel.org>2020-02-11 08:45:45 +0200
commit43d565727a3a6fd24e37c7c2116475106af71806 (patch)
tree19403ca4f7fb79f71d671df4f26ce27c597b185d /scripts/bpf_helpers_doc.py
parentusb: dwc2: Fix SET/CLEAR_FEATURE and GET_STATUS flows (diff)
downloadlinux-dev-43d565727a3a6fd24e37c7c2116475106af71806.tar.xz
linux-dev-43d565727a3a6fd24e37c7c2116475106af71806.zip
usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags
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. Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions