[PATCH v1 0/6] dmaengine: miscellaneous fixes for ioat, switchtec_dma and plx_dma
Logan Gunthorpe <[email protected]> Mon, 27 Jul 2026 11:48:30 -0600
| Newsgroups | org.kernel.vger.dmaengine,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
When reviewing the recent switchtec patchset, the Sashiko bot noticed a handful of pre-existing problems in the ioat and switchtec drivers. Additionally, I've included: * A fix for a plx-dma issue that was reported on the list[1] a few weeks ago. * A potential issue I noticed while reviewing the code where pointers need to be set to NULL. These fixes are all valid and independent of the work I was doing so I've sent them as their own submission. I'm still working on the rest of the feedback Sashiko gave me on that submission. Thanks, Logan [1] https://lore.kernel.org/all/[email protected]/T/#u Logan Gunthorpe (6): dmaengine: switchtec-dma: fix double-free in switchtec_dma_free_desc() dmaengine: switchtec-dma: fix resource leak in alloc_chan_resources dmaengine: switchtec-dma: fix channel leak on registration failure dmaengine: ioat: disable relaxed ordering before registering the device dmaengine: ioat: use sysfs_emit() in per-channel sysfs show() dmaengine: plx_dma: fix NULL pointer deref in plx_dma_isr() drivers/dma/ioat/init.c | 18 +++++++++--------- drivers/dma/ioat/sysfs.c | 22 +++++++++++----------- drivers/dma/plx_dma.c | 10 +++++----- drivers/dma/switchtec_dma.c | 36 ++++++++++++++++++++++++++++++------ 4 files changed, 55 insertions(+), 31 deletions(-) base-commit: a13c140cc289c0b7b3770bce5b3ad42ab35074aa -- 2.47.3