[PATCH 0/4] dmaengine: Convert to platform remove callback returning void (part II)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

after
https://lore.kernel.org/all/20230919133207.1400430-1-u.kleine-koenig@xxxxxxxxxxxxxx/
this series also converts the drivers that have a bogus error path in
their remove function. These patches don't fix the underlying problem
but still improve a bit, as the error message gets more detailed.

I don't know enough about the dma subsystem to propose a better fix, so
the drivers are only converted to use .remove_new() to not be in the way
for my quest to make struct platform_driver::remove return void. The
quest's goal is to prevent such bogus error paths to occur in new code.
See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation.

Best regards
Uwe

Uwe Kleine-König (4):
  dmaengine: milbeaut-hdmac: Convert to platform remove callback
    returning void
  dmaengine: milbeaut-xdmac: Convert to platform remove callback
    returning void
  dmaengine: uniphier-mdmac: Convert to platform remove callback
    returning void
  dmaengine: uniphier-xdmac: Convert to platform remove callback
    returning void

 drivers/dma/milbeaut-hdmac.c | 17 +++++++++++------
 drivers/dma/milbeaut-xdmac.c | 17 +++++++++++------
 drivers/dma/uniphier-mdmac.c | 17 +++++++++++------
 drivers/dma/uniphier-xdmac.c | 17 +++++++++++------
 4 files changed, 44 insertions(+), 24 deletions(-)

base-commit: e27090b1413ff236ca1aec26d6b022149115de2c
-- 
2.42.0





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux