DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] bus/fslmc, dma/dpaa2: fix remove callback error propagation
@ 2026-05-13 20:37 Md Shofiqul Islam
  2026-05-13 20:37 ` [PATCH 1/2] bus/fslmc: fix ignored return value in fslmc_bus_unplug Md Shofiqul Islam
  2026-05-13 20:37 ` [PATCH 2/2] dma/dpaa2: fix dpaa2_qdma_remove always returning success Md Shofiqul Islam
  0 siblings, 2 replies; 3+ messages in thread
From: Md Shofiqul Islam @ 2026-05-13 20:37 UTC (permalink / raw)
  To: dev; +Cc: hemant.agrawal, sachin.saxena, g.singh, stable

Two dpaa2 drivers silently discard errors from their remove callbacks,
making it impossible for callers to detect cleanup failures:

- fslmc_bus_unplug() (bus/fslmc) calls drv->remove() and throws away
  the return value, reporting success regardless of outcome.

- dpaa2_qdma_remove() (dma/dpaa2) logs a cleanup error but always
  returns 0, hiding the failure from its caller.

This series fixes both by propagating the actual return values.

Bugzilla ID: 1914

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.54.0.windows.1


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

end of thread, other threads:[~2026-05-16  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-13 20:37 [PATCH 0/2] bus/fslmc, dma/dpaa2: fix remove callback error propagation Md Shofiqul Islam
2026-05-13 20:37 ` [PATCH 1/2] bus/fslmc: fix ignored return value in fslmc_bus_unplug Md Shofiqul Islam
2026-05-13 20:37 ` [PATCH 2/2] dma/dpaa2: fix dpaa2_qdma_remove always returning success 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