[PATCH v2 0/3] dmaengine: ioatdma: Fix mem leakage series

From: Nikita Shubin via B4 Relay
Date: Tue May 28 2024 - 02:09:38 EST


Started with observing leakage in patch 3, investigating revealed much
more problems in probing error path.

Andy you are always welcome to review if you have a spare time.

Thank you Andy and Markus for your comments.

Signed-off-by: Nikita Shubin <n.shubin@xxxxxxxxx>
---
Changes in v2:
- dmaengine: ioatdma: Fix error path in ioat3_dma_probe():
Markus:
- fix typo

- dmaengine: ioatdma: Fix kmemleak in ioat_pci_probe()
Andy:
- s/int/unsigned int/
- fix spelling errors
- trimmed kmemleak reports

- Link to v1: https://lore.kernel.org/r/20240524-ioatdma-fixes-v1-0-b785f1f7accc@xxxxxxxxx

---
Nikita Shubin (3):
dmaengine: ioatdma: Fix leaking on version mismatch
dmaengine: ioatdma: Fix error path in ioat3_dma_probe()
dmaengine: ioatdma: Fix kmemleak in ioat_pci_probe()

drivers/dma/ioat/init.c | 54 ++++++++++++++++++++++++++-----------------------
1 file changed, 29 insertions(+), 25 deletions(-)
---
base-commit: 6d69b6c12fce479fde7bc06f686212451688a102
change-id: 20240524-ioatdma-fixes-a8fccda9bd79

Best regards,
--
Nikita Shubin <n.shubin@xxxxxxxxx>