[PATCH v2 0/2] dpaa2: fix error propagation in remove path
David Marchand
david.marchand at redhat.com
Thu Jun 11 15:52:56 CEST 2026
On Sun, 17 May 2026 at 14:54, Md Shofiqul Islam <shofiqtest at gmail.com> wrote:
>
> 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(-)
Series applied, thanks.
--
David Marchand
More information about the dev
mailing list