]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dmaengine: ioatdma: Fix missing kmem_cache_destroy()
authorNikita Shubin <n.shubin@yadro.com>
Tue, 14 May 2024 10:52:31 +0000 (13:52 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 11 Jun 2024 18:09:26 +0000 (23:39 +0530)
commit5422145d0b749ad554ada772133b9b20f9fb0ec8
tree35bf8aba9e1ba6b2880c85988d6cc3a4803473a9
parent1345a13f18370ad9e5bc98995959a27f9bd71464
dmaengine: ioatdma: Fix missing kmem_cache_destroy()

Fix missing kmem_cache_destroy() for ioat_sed_cache in
ioat_exit_module().

Noticed via:

```
modprobe ioatdma
rmmod ioatdma
modprobe ioatdma
debugfs: Directory 'ioat_sed_ent' with parent 'slab' already present!
```

Fixes: c0f28ce66ecf ("dmaengine: ioatdma: move all the init routines")
Signed-off-by: Nikita Shubin <n.shubin@yadro.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20240514-ioatdma_fixes-v1-1-2776a0913254@yadro.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ioat/init.c