dmaengine: miscellaneous fixes for ioat, switchtec_dma and plx_dma
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dmaengine: switchtec-dma: fix double-free in switchtec_dma_free_desc()drivers/ | +5 | 0 replies | |
| 2/6 | dmaengine: switchtec-dma: fix resource leak in alloc_chan_resourcesdrivers/ | +19 | 0 replies | |
| 3/6 | dmaengine: switchtec-dma: fix channel leak on registration failuredrivers/ | +6 | 0 replies | |
| 4/6 | dmaengine: ioat: disable relaxed ordering before registering the devicedrivers/ | +9 | 0 replies | |
| 5/6 | dmaengine: ioat: use sysfs_emit() in per-channel sysfs show()drivers/ | +11 | 0 replies | |
| 6/6 | dmaengine: plx_dma: fix NULL pointer deref in plx_dma_isr()drivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/6] dmaengine: miscellaneous fixes for ioat, switchtec_dma and plx_dma
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
Signature · 1 line
2.47.3