Skip to content
Commit 0b346aa3 authored by Nikita Shubin's avatar Nikita Shubin Committed by Greg Kroah-Hartman
Browse files

dmaengine: ioatdma: Fix missing kmem_cache_destroy()

[ Upstream commit 5422145d ]

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: c0f28ce6

 ("dmaengine: ioatdma: move all the init routines")
Signed-off-by: default avatarNikita Shubin <n.shubin@yadro.com>
Acked-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20240514-ioatdma_fixes-v1-1-2776a0913254@yadro.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bdc0a40a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment