From patchwork Fri Nov 17 09:59:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13458719 Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1687A84 for ; Fri, 17 Nov 2023 02:00:48 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r3vdd-0000CZ-8i; Fri, 17 Nov 2023 10:59:49 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r3vda-009eFY-MI; Fri, 17 Nov 2023 10:59:46 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1r3vda-002zVo-C1; Fri, 17 Nov 2023 10:59:46 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Alex Elder , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J. Wysocki" , Dmitry Torokhov , Tariq Toukan , Christian Marangi , Dawei Li , =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= , Andrew Lunn , Heiner Kallweit , Russell King , Zhao Qiang , Linus Walleij , Imre Kaloz , Stephan Gerhold , Andy Gross , Bjorn Andersson , Konrad Dybcio , Loic Poulain , Sergey Ryazanov , Alexander Aring , Stefan Schmidt , Miquel Raynal Cc: netdev@vger.kernel.org, kernel@pengutronix.de, linux-renesas-soc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Johannes Berg , linux-arm-msm@vger.kernel.org, linux-wpan@vger.kernel.org Subject: [PATCH net-next 00/10] net*: Convert to platform remove callback returning void Date: Fri, 17 Nov 2023 10:59:23 +0100 Message-ID: <20231117095922.876489-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.42.0.586.gbc5204569f7d.dirty Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2113; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=9oXuqsWt/RvURX9K94NXCtM0NJ0gIte8yeS/fqhGQB0=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlVzl7texqFwXoT5gAbvyECD9jkLIXHxLs+T/Jr /qMt/rFfeOJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZVc5ewAKCRCPgPtYfRL+ TvahB/wJQF9QJN/JIp3OWpqrOqErXY/3mGrH+LrcSAyWTQmW3IbON/tzsf0OudQ3GS4JGLYwrwf lr86btNOOf5otyzkyde9JO4eLJ8avvimGDtuJVCJeaYTcGT6IlHjm21zCMoNIxH3XlKMkrUmMYH 0oqnlR2AfeZP6cAxUjo5jJP1AG1OJ/Xt8losaCvn7bsz0CB5zYnZLJq+MNrGc9F0Bf/31+nYK54 8M2gDMXOJ3xh7IST9jk8chwWjoFy2mfa/rYWeB+ctDGzmvj2yQT+QW8WTFasq3UdajLrFen0s7I UHp9cIprBwWEtE2SBKNHHSiRAX7ph979/7RuQaY5V4oAWRFf X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Hello, this series converts the platform drivers below drivers/net that are not covered in the two other series converting drivers/net/ethernet and drivers/net/wireless. I put them all in a single series even though they are not maintained together. I thought that to be better than sending them out individually, I hope you agree. 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 first patch is a fix, but I don't think it's worth to add that to stable, it was broken since v5.7-rc1 and nobody seems to have hit the problem. Best regards Uwe Uwe Kleine-König (10): net: ipa: Don't error out in .remove() net: ipa: Convert to platform remove callback returning void net: fjes: Convert to platform remove callback returning void net: pcs: rzn1-miic: Convert to platform remove callback returning void net: sfp: Convert to platform remove callback returning void net: wan/fsl_ucc_hdlc: Convert to platform remove callback returning void net: wan/ixp4xx_hss: Convert to platform remove callback returning void net: wwan: qcom_bam_dmux: Convert to platform remove callback returning void ieee802154: fakelb: Convert to platform remove callback returning void ieee802154: hwsim: Convert to platform remove callback returning void drivers/net/fjes/fjes_main.c | 6 ++---- drivers/net/ieee802154/fakelb.c | 5 ++--- drivers/net/ieee802154/mac802154_hwsim.c | 6 ++---- drivers/net/ipa/ipa_main.c | 20 +++++--------------- drivers/net/pcs/pcs-rzn1-miic.c | 6 ++---- drivers/net/phy/sfp.c | 6 ++---- drivers/net/wan/fsl_ucc_hdlc.c | 6 ++---- drivers/net/wan/ixp4xx_hss.c | 5 ++--- drivers/net/wwan/qcom_bam_dmux.c | 6 ++---- 9 files changed, 21 insertions(+), 45 deletions(-) base-commit: eff99d8edbed7918317331ebd1e365d8e955d65e