Linux-FPGA Archive mirror
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Moritz Fischer <mdf@kernel.org>, Wu Hao <hao.wu@intel.com>,
	Xu Yilun <yilun.xu@intel.com>
Cc: Tom Rix <trix@redhat.com>,
	linux-fpga@vger.kernel.org, kernel@pengutronix.de,
	Peter Colberg <peter.colberg@intel.com>,
	Michal Simek <michal.simek@amd.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/13] fpga: Convert to platform remove callback returning void
Date: Tue, 19 Dec 2023 18:31:58 +0100	[thread overview]
Message-ID: <cover.1703006638.git.u.kleine-koenig@pengutronix.de> (raw)

Hello,

this series converts all drivers below drivers/fpga to use
.remove_new(). 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.

This is merge window material. All patches are pairwise independent of
each other, so they could be applied individually. Getting them all in
together would be nicer though :-)

Best regards
Uwe

Uwe Kleine-König (13):
  fpga: altera-fpga2sdram: Convert to platform remove callback returning void
  fpga: altera-freeze-bridge: Convert to platform remove callback returning void
  fpga: altera-hps2fpga: Convert to platform remove callback returning void
  fpga: dfl-afu-main: Convert to platform remove callback returning void
  fpga: dfl-fme-br: Convert to platform remove callback returning void
  fpga: dfl-fme-main: Convert to platform remove callback returning void
  fpga: dfl-fme-region: Convert to platform remove callback returning void
  fpga: intel-m10-bmc-sec-update: Convert to platform remove callback returning void
  fpga: of-fpga-region: Convert to platform remove callback returning void
  fpga: socfpga-a10: Convert to platform remove callback returning void
  fpga: stratix10-soc: Convert to platform remove callback returning void
  fpga: xilinx-pr-decoupler: Convert to platform remove callback returning void
  fpga: zynq-fpga: Convert to platform remove callback returning void

 drivers/fpga/altera-fpga2sdram.c        | 6 ++----
 drivers/fpga/altera-freeze-bridge.c     | 6 ++----
 drivers/fpga/altera-hps2fpga.c          | 6 ++----
 drivers/fpga/dfl-afu-main.c             | 6 ++----
 drivers/fpga/dfl-fme-br.c               | 6 ++----
 drivers/fpga/dfl-fme-main.c             | 6 ++----
 drivers/fpga/dfl-fme-region.c           | 6 ++----
 drivers/fpga/intel-m10-bmc-sec-update.c | 6 ++----
 drivers/fpga/of-fpga-region.c           | 6 ++----
 drivers/fpga/socfpga-a10.c              | 6 ++----
 drivers/fpga/stratix10-soc.c            | 6 ++----
 drivers/fpga/xilinx-pr-decoupler.c      | 6 ++----
 drivers/fpga/zynq-fpga.c                | 6 ++----
 13 files changed, 26 insertions(+), 52 deletions(-)

base-commit: aa4db8324c4d0e67aa4670356df4e9fae14b4d37
-- 
2.42.0


             reply	other threads:[~2023-12-19 17:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-19 17:31 Uwe Kleine-König [this message]
2023-12-19 17:31 ` [PATCH 01/13] fpga: altera-fpga2sdram: Convert to platform remove callback returning void Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 02/13] fpga: altera-freeze-bridge: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 03/13] fpga: altera-hps2fpga: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 04/13] fpga: dfl-afu-main: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 05/13] fpga: dfl-fme-br: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 06/13] fpga: dfl-fme-main: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 07/13] fpga: dfl-fme-region: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 08/13] fpga: intel-m10-bmc-sec-update: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 09/13] fpga: of-fpga-region: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 10/13] fpga: socfpga-a10: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 11/13] fpga: stratix10-soc: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 12/13] fpga: xilinx-pr-decoupler: " Uwe Kleine-König
2023-12-19 17:32 ` [PATCH 13/13] fpga: zynq-fpga: " Uwe Kleine-König
2023-12-25  6:01 ` [PATCH 00/13] fpga: " Xu Yilun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1703006638.git.u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=hao.wu@intel.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fpga@vger.kernel.org \
    --cc=mdf@kernel.org \
    --cc=michal.simek@amd.com \
    --cc=peter.colberg@intel.com \
    --cc=trix@redhat.com \
    --cc=yilun.xu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).