From: Miquel Raynal <miquel.raynal@bootlin.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: "Vignesh Raghavendra" <vigneshr@ti.com>,
"Kyungmin Park" <kyungmin.park@samsung.com>,
"Naga Sureshkumar Relli" <nagasure@xilinx.com>,
"Tudor Ambarus" <tudor.ambarus@linaro.org>,
"Nicolas Ferre" <nicolas.ferre@microchip.com>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Claudiu Beznea" <claudiu.beznea@microchip.com>,
"Yang Yingliang" <yangyingliang@huawei.com>,
"ye xingchen" <ye.xingchen@zte.com.cn>,
"Valentin Korenblit" <vkorenblit@sequans.com>,
"Wang Weiyang" <wangweiyang2@huawei.com>,
"Pali Rohár" <pali@kernel.org>, "Marek Behún" <kabel@kernel.org>,
"Han Xu" <han.xu@nxp.com>,
"Harvey Hunt" <harveyhuntnexus@gmail.com>,
"Paul Cercueil" <paul@crapouillou.net>,
"Martin Blumenstingl" <martin.blumenstingl@googlemail.com>,
"Vladimir Zapolskiy" <vz@mleia.com>,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
"Liang Yang" <liang.yang@amlogic.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Kevin Hilman" <khilman@baylibre.com>,
"Christophe Leroy" <christophe.leroy@csgroup.eu>,
"Phil Edworthy" <phil.edworthy@renesas.com>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"Chuanhong Guo" <gch981213@gmail.com>,
"Roger Quadros" <rogerq@kernel.org>,
"Christophe JAILLET" <christophe.jaillet@wanadoo.fr>,
"Manivannan Sadhasivam" <mani@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Arnd Bergmann" <arnd@arndb.de>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Stephen Boyd" <sboyd@kernel.org>,
"Miaoqian Lin" <linmq006@gmail.com>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
"Christophe Kerello" <christophe.kerello@foss.st.com>,
"Jack Wang" <jinpu.wang@ionos.com>,
"Chen-Yu Tsai" <wens@csie.org>,
"Jernej Skrabec" <jernej.skrabec@gmail.com>,
"Samuel Holland" <samuel@sholland.org>,
"Stefan Agner" <stefan@agner.ch>, "Lucas Stach" <dev@lynxeye.de>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Jonathan Hunter" <jonathanh@nvidia.com>,
"Richard Weinberger" <richard@nod.at>,
linux-mtd@lists.infradead.org, kernel@pengutronix.de,
linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org,
"Jerome Brunet" <jbrunet@baylibre.com>,
linux-amlogic@lists.infradead.org,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
linux-mediatek@lists.infradead.org, linux-oxnas@groups.io,
linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org
Subject: Re: [PATCH 00/49] mtd: nand: Convert to platform remove callback returning void
Date: Fri, 7 Apr 2023 10:10:43 +0200 [thread overview]
Message-ID: <20230407101043.299f5e22@xps-13> (raw)
In-Reply-To: <20230401161938.2503204-1-u.kleine-koenig@pengutronix.de>
Hi Uwe,
u.kleine-koenig@pengutronix.de wrote on Sat, 1 Apr 2023 18:18:49 +0200:
> Hello,
>
> this series adapts the platform drivers below drivers/mtd/nand to use the
> .remove_new() callback. Compared to the traditional .remove() callback
> .remove_new() returns no value. This is a good thing because the driver core
> doesn't (and cannot) cope for errors during remove. The only effect of a
> non-zero return value in .remove() is that the driver core emits a warning. The
> device is removed anyhow and an early return from .remove() usually yields a
> resource leak.
>
> By changing the remove callback to return void driver authors cannot
> reasonably assume any more that there is some kind of cleanup later.
>
> As all drivers already return 0 in their .remove callback, they can be
> converted trivially.
I've looked at the different patches, they look good to me but as they
are all trivial and exactly identical, would you mind sending this
again all squashed in a single patch? A subsystem-wide conversion seems
appropriate. In all cases I plan to take this for the next merge
window.
I've collected the tags received so far if you want:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> # atmel
Reviewed-by: Paul Cercueil <paul@crapouillou.net> # ingenic
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> # ingenic
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # intel
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # meson
Acked-by: Roger Quadros <rogerq@kernel.org> # omap
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> # renesas
Reviewed-by: Heiko Stuebner <heiko@sntech.de> # rockchip
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> # sunxi
Acked-by: Thierry Reding <treding@nvidia.com> # tegra
BTW, thanks to all of you who reviewed and answered to this thread!
This is highly appreciated.
Thanks,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2023-04-07 8:11 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-01 16:18 [PATCH 00/49] mtd: nand: Convert to platform remove callback returning void Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 01/49] mtd: nand: mxic-ecc: " Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 02/49] mtd: onenand: generic: " Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 03/49] mtd: onenand: omap2: " Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 04/49] mtd: onenand: samsung: " Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 05/49] mtd: rawnand: ams-delta: " Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 06/49] mtd: rawnand: arasan: " Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 07/49] mtd: rawnand: atmel: " Uwe Kleine-König
2023-04-03 8:37 ` Nicolas Ferre
2023-04-01 16:18 ` [PATCH 08/49] mtd: rawnand: au1550nd: " Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 09/49] mtd: rawnand: bcm47xxnflash: " Uwe Kleine-König
2023-04-01 16:18 ` [PATCH 10/49] mtd: rawnand: cadence: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 11/49] mtd: rawnand: davinci: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 12/49] mtd: rawnand: denali_dt: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 13/49] mtd: rawnand: fsl_elbc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 14/49] mtd: rawnand: fsl_ifc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 15/49] mtd: rawnand: fsl_upm: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 16/49] mtd: rawnand: fsmc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 17/49] mtd: rawnand: gpio: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 18/49] mtd: rawnand: gpmi: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 19/49] mtd: rawnand: hisi504: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 20/49] mtd: rawnand: ingenic: " Uwe Kleine-König
2023-04-01 16:42 ` Paul Cercueil
2023-04-06 12:14 ` Philippe Mathieu-Daudé
2023-04-01 16:19 ` [PATCH 21/49] mtd: rawnand: intel: " Uwe Kleine-König
2023-04-01 21:24 ` Martin Blumenstingl
2023-04-01 16:19 ` [PATCH 22/49] mtd: rawnand: lpc32xx_mlc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 23/49] mtd: rawnand: lpc32xx_slc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 24/49] mtd: rawnand: marvell: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 25/49] mtd: rawnand: meson: " Uwe Kleine-König
2023-04-01 21:31 ` Martin Blumenstingl
2023-04-01 16:19 ` [PATCH 26/49] mtd: rawnand: mpc5121_nfc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 27/49] mtd: rawnand: mtk: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 28/49] mtd: rawnand: mxc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 29/49] mtd: rawnand: mxic: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 30/49] mtd: rawnand: ndfc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 31/49] mtd: rawnand: omap2: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 32/49] mtd: rawnand: omap_elm: " Uwe Kleine-König
2023-04-03 10:55 ` Roger Quadros
2023-04-01 16:19 ` [PATCH 33/49] mtd: rawnand: orion: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 34/49] mtd: rawnand: oxnas: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 35/49] mtd: rawnand: pasemi: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 36/49] mtd: rawnand: pl35x: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 37/49] mtd: rawnand: plat: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 38/49] mtd: rawnand: qcom: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 39/49] mtd: rawnand: renesas: " Uwe Kleine-König
2023-04-03 7:18 ` Geert Uytterhoeven
2023-04-01 16:19 ` [PATCH 40/49] mtd: rawnand: rockchip: " Uwe Kleine-König
2023-04-01 19:04 ` Heiko Stübner
2023-04-01 16:19 ` [PATCH 41/49] mtd: rawnand: s3c2410: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 42/49] mtd: rawnand: sh_flctl: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 43/49] mtd: rawnand: sharpsl: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 44/49] mtd: rawnand: socrates: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 45/49] mtd: rawnand: stm32_fmc2: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 46/49] mtd: rawnand: sunxi: " Uwe Kleine-König
2023-04-01 16:31 ` Jernej Škrabec
2023-04-01 16:19 ` [PATCH 47/49] mtd: rawnand: tegra: " Uwe Kleine-König
2023-04-05 11:13 ` Thierry Reding
2023-04-01 16:19 ` [PATCH 48/49] mtd: rawnand: vf610_nfc: " Uwe Kleine-König
2023-04-01 16:19 ` [PATCH 49/49] mtd: rawnand: xway: " Uwe Kleine-König
2023-04-03 16:29 ` [PATCH 00/49] mtd: nand: " Tudor Ambarus
2023-04-07 8:10 ` Miquel Raynal [this message]
2023-04-08 18:53 ` [PATCH] " Uwe Kleine-König
2023-04-10 5:37 ` Tudor Ambarus
2023-04-11 8:20 ` Miquel Raynal
2023-04-11 11:11 ` Uwe Kleine-König
2023-04-11 11:26 ` Uwe Kleine-König
2023-04-11 12:50 ` Miquel Raynal
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=20230407101043.299f5e22@xps-13 \
--to=miquel.raynal@bootlin.com \
--cc=alexandre.belloni@bootlin.com \
--cc=alexandre.torgue@foss.st.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=arnd@arndb.de \
--cc=christophe.jaillet@wanadoo.fr \
--cc=christophe.kerello@foss.st.com \
--cc=christophe.leroy@csgroup.eu \
--cc=claudiu.beznea@microchip.com \
--cc=dev@lynxeye.de \
--cc=dmitry.torokhov@gmail.com \
--cc=gch981213@gmail.com \
--cc=geert@linux-m68k.org \
--cc=han.xu@nxp.com \
--cc=harveyhuntnexus@gmail.com \
--cc=heiko@sntech.de \
--cc=jbrunet@baylibre.com \
--cc=jernej.skrabec@gmail.com \
--cc=jinpu.wang@ionos.com \
--cc=jonathanh@nvidia.com \
--cc=kabel@kernel.org \
--cc=kernel@pengutronix.de \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=kyungmin.park@samsung.com \
--cc=liang.yang@amlogic.com \
--cc=linmq006@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-oxnas@groups.io \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux-tegra@vger.kernel.org \
--cc=mani@kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=matthias.bgg@gmail.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=nagasure@xilinx.com \
--cc=neil.armstrong@linaro.org \
--cc=nicolas.ferre@microchip.com \
--cc=pali@kernel.org \
--cc=paul@crapouillou.net \
--cc=phil.edworthy@renesas.com \
--cc=richard@nod.at \
--cc=rogerq@kernel.org \
--cc=samuel@sholland.org \
--cc=sboyd@kernel.org \
--cc=stefan@agner.ch \
--cc=thierry.reding@gmail.com \
--cc=tudor.ambarus@linaro.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vigneshr@ti.com \
--cc=vkorenblit@sequans.com \
--cc=vz@mleia.com \
--cc=wangweiyang2@huawei.com \
--cc=wens@csie.org \
--cc=yangyingliang@huawei.com \
--cc=ye.xingchen@zte.com.cn \
/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 NNTP newsgroup(s).