dpaa2: fix error propagation in remove path
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- bus/fslmc: use 'if (ret != 0)' style per DPDK coding standard
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bus/fslmc: fix ignored return value in fslmc_bus_unplugdrivers/ | +3 | 1 reply | |
| 2/2 | dma/dpaa2: fix dpaa2_qdma_remove always returning successdrivers/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Hemant Agrawal |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] dpaa2: fix error propagation in remove path
This series fixes two bugs in the dpaa2/fslmc device removal path where error codes were silently discarded, making it impossible for callers to detect removal failures.
Patch 1 fixes fslmc_bus_unplug() to capture and propagate the return value of drv->remove() instead of ignoring it.
Patch 2 fixes dpaa2_qdma_remove() to return the actual error code from rte_dma_pmd_release() instead of unconditionally returning 0.
v2:
- bus/fslmc: use 'if (ret != 0)' style per DPDK coding standard
Md Shofiqul Islam (2):
bus/fslmc: fix ignored return value in fslmc_bus_unplug dma/dpaa2: fix dpaa2_qdma_remove always returning success
drivers/bus/fslmc/fslmc_bus.c | 4 +++- drivers/dma/dpaa2/dpaa2_qdma.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
2.51.1