linux/drivers/dma/idxd
Johan Hovold 799900f017 dmaengine: idxd: fix device leaks on compat bind and unbind
Make sure to drop the reference taken when looking up the idxd device as
part of the compat bind and unbind sysfs interface.

Fixes: 6e7f3ee97b ("dmaengine: idxd: move dsa_drv support to compatible mode")
Cc: stable@vger.kernel.org	# 5.15
Cc: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251117161258.10679-7-johan@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
History 2025-12-14 14:47:24 +05:30
..
bus.c driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
cdev.c dmaengine updates for v6.16 2025-06-05 08:49:30 -07:00
compat.c dmaengine: idxd: fix device leaks on compat bind and unbind 2025-12-14 14:47:24 +05:30
debugfs.c dmaengine: idxd: Convert spinlock to mutex to lock evl workqueue 2024-04-07 13:31:44 +05:30
defaults.c dmaengine: idxd: Replace memset(0) + strscpy() with strscpy_pad() 2025-08-20 23:01:27 +05:30
device.c dmaengine: idxd: drain ATS translations when disabling WQ 2025-10-16 17:43:35 +05:30
dma.c dmaengine: add channel device name to channel registration 2024-06-11 23:55:34 +05:30
idxd.h dmaengine: idxd: Remove unused pointer and macro 2025-05-14 16:00:30 +01:00
init.c dmaengine updates for v6.18 2025-10-06 10:37:06 -07:00
irq.c dmaengine: idxd: Enable Function Level Reset (FLR) for halt 2024-12-24 16:08:05 +05:30
Makefile module: Convert default symbol namespace to string literal 2024-12-03 08:22:25 -08:00
perfmon.c dmaengine updates for v6.12 2024-09-23 14:08:08 -07:00
perfmon.h dmaengine: idxd: Add IDXD performance monitor support 2021-04-25 21:46:12 +05:30
registers.h dmaengine updates for v6.18 2025-10-06 10:37:06 -07:00
submit.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
sysfs.c dmaengine: idxd: Narrow the restriction on BATCH to ver. 1 only 2025-05-14 15:29:04 +01:00