[PATCH 00/12] mailbox: Convert to platform remove callback returning void

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

 



Hello,

this series converts all platform drivers below drivers/mailbox that
make use of .remove() to use .remove_new() instead.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.
The TL;DR; is to make it harder for driver authors to leak resources
without noticing. The drivers here get it right though and so can be
converted trivially.

This is merge window material. All patches are pairwise independent, so
they can be applied individually.

Best regards
Uwe

Uwe Kleine-König (12):
  mailbox: bcm-flexrm: Convert to platform remove callback returning void
  mailbox: bcm-pdc: Convert to platform remove callback returning void
  mailbox: imx: Convert to platform remove callback returning void
  mailbox: mailbox-test: Convert to platform remove callback returning void
  mailbox: mtk-cmdq: Convert to platform remove callback returning void
  mailbox: omap: Convert to platform remove callback returning void
  mailbox: qcom-apcs-ipc: Convert to platform remove callback returning void
  mailbox: qcom-ipcc: Convert to platform remove callback returning void
  mailbox: stm32-ipcc: Convert to platform remove callback returning void
  mailbox: sun6i-msgbox: Convert to platform remove callback returning void
  mailbox: tegra-hsp: Convert to platform remove callback returning void
  mailbox: zynqmp-ipi: Convert to platform remove callback returning void

 drivers/mailbox/bcm-flexrm-mailbox.c    | 6 ++----
 drivers/mailbox/bcm-pdc-mailbox.c       | 5 ++---
 drivers/mailbox/imx-mailbox.c           | 6 ++----
 drivers/mailbox/mailbox-test.c          | 6 ++----
 drivers/mailbox/mtk-cmdq-mailbox.c      | 5 ++---
 drivers/mailbox/omap-mailbox.c          | 6 ++----
 drivers/mailbox/qcom-apcs-ipc-mailbox.c | 6 ++----
 drivers/mailbox/qcom-ipcc.c             | 6 ++----
 drivers/mailbox/stm32-ipcc.c            | 6 ++----
 drivers/mailbox/sun6i-msgbox.c          | 6 ++----
 drivers/mailbox/tegra-hsp.c             | 6 ++----
 drivers/mailbox/zynqmp-ipi-mailbox.c    | 6 ++----
 12 files changed, 24 insertions(+), 46 deletions(-)

base-commit: 39676dfe52331dba909c617f213fdb21015c8d10
-- 
2.43.0





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux