DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] dpaa2: fix error propagation in remove path
@ 2026-05-16 11:08 Md Shofiqul Islam
  0 siblings, 0 replies; 2+ messages in thread
From: Md Shofiqul Islam @ 2026-05-16 11:08 UTC (permalink / raw)
  To: dev; +Cc: hemant.agrawal, stable

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(-)

-- 
2.51.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 0/2] dpaa2: fix error propagation in remove path
       [not found] <20260516110845.2345-1-shofiqtest@gmail.com>
@ 2026-05-29 13:23 ` Md Shofiqul Islam
  0 siblings, 0 replies; 2+ messages in thread
From: Md Shofiqul Islam @ 2026-05-29 13:23 UTC (permalink / raw)
  To: dev

Ping. Any feedback on v2 welcome.

Thanks,
Shofiq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-01  5:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260516110845.2345-1-shofiqtest@gmail.com>
2026-05-29 13:23 ` [PATCH v2 0/2] dpaa2: fix error propagation in remove path Md Shofiqul Islam
2026-05-16 11:08 Md Shofiqul Islam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox