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: 1865034 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SWsqB0Bmrz1yRM for ; Fri, 17 Nov 2023 21:00:53 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4SWsq91d1Dz3dRH for ; Fri, 17 Nov 2023 21:00:53 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=pengutronix.de (client-ip=2a0a:edc0:2:b01:1d::104; helo=metis.whiteo.stw.pengutronix.de; envelope-from=ukl@pengutronix.de; receiver=lists.ozlabs.org) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4SWspy1Pgzz3dJ0 for ; Fri, 17 Nov 2023 21:00:42 +1100 (AEDT) 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 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 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: linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-wpan@vger.kernel.org, kernel@pengutronix.de, linux-arm-msm@vger.kernel.org, Johannes Berg , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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