Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2103125lqe; Tue, 9 Apr 2024 09:33:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqPMF1mlmjSCsjwV8XSJxwQ2+94EQNXxCkw/a4K2wjmAwK0nW2bfPbHVRndNGr55NVp1srgwcrdPMs33Vp4lbNryYYy1MSN+E03Nh+JQ== X-Google-Smtp-Source: AGHT+IFmNGQ15l42rVRN/DoPD7mmrA/6HOhGA7+mO/mpOSjyMsxYDysVF7NogG4cTpnLXFg+emKO X-Received: by 2002:a05:6a21:3a47:b0:1a7:8828:bca0 with SMTP id zu7-20020a056a213a4700b001a78828bca0mr180387pzb.3.1712680387246; Tue, 09 Apr 2024 09:33:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712680387; cv=pass; d=google.com; s=arc-20160816; b=mB1uPUv0hxzhHO9MqsfF2tIhHS8LQBhPh/Qpm6TedZikw/oqlC6xCbYWqIZi4/VVts uTzZkXHlsbiWmqcegUnFGxmCFJBQKo07jfiCr6sz1KR7QMny8eSALHGzaUuEDMWavorA m90d3PkmMGS8cMaLMlU2Nvpim9rfB+nii4O9wwVRfzR7sD4ybqwonmlCuAlS2ew8tHKV 5vpAJ+Rs26ioeETEAk7GTO6JQGmdawmV6OBzVHSWgV8mqQvd30RKEoaQrlbPxJKfhpET VBsiK0GGP5dAZlpGuFnOX3PPEVWeXm9fSCo+1vJQ9A2N9Ombg24udla/hSB6SU6nWbeY P2Rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=Zi8IWRX0DhFEfbiJKxrXv/GSlBB4ra/YxdBh25FL0RU=; fh=2+HmcXXDV4wL4TATu2MrSPmO1RhRVD12Vph6dsHNBNE=; b=uaCYC4kEYXY383JehqKQbCv0Gf3KIXLAUptLhZd0RBaL5S6nV1+C6Whp0iZ6b2MJFM tel/nuTJLno0IA2lquJnsgm0/kInP7p6dt29uUNXi2p4Q3J4PggjfxIqPJlbDEkXo7Lq bUCNvAYVMASoEuq3ScLHM6TLNrr509ROZBk+hTLn2/8hJmpP6m5ihOEzriJvqoxGPPBo oOB4LncANz56pUvNYJg1dRMzIzkCWk9+vWzAGf7MZfNMFNGu1/WnyMvCKYj85TZQQfx+ 2ZyjG7LobwVgq4ouMTnh8dZxX1JsOSdDLuJmV236kNTnN8lbMOew1LAf6v3AEqwQd8dE hx3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-137328-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137328-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m76-20020a633f4f000000b005e4a7a59ed8si9028749pga.548.2024.04.09.09.33.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 09:33:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137328-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-137328-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137328-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E2B2728E383 for ; Tue, 9 Apr 2024 16:33:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB3F8153587; Tue, 9 Apr 2024 16:32:52 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E7611509B4 for ; Tue, 9 Apr 2024 16:32:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712680372; cv=none; b=LU51yPCWCsduSyj4wJXFJaKJ5iBt3+eUWS4Nxh+T04Kwz9BZHjD/gHlGsHB0nl2xNtNgqHCpyyZCZlFkqUSxCncCZsYnQv0LgZchlJutCrJ/3PcsnF9NS4vb7Gxva83Q54FDNVPrq/fo4a0NCvIzCeIumJ6cwFIBOz2DvKQ6tfs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712680372; c=relaxed/simple; bh=kGNiOYgEjXV6OIDTsWw1Tx2jDfOc/VCR7k2qJc3X5js=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZtW1bIVvQ+ZYS9I3DkpXoGhW9iU/1cmwOgisdsxN8JoqMRGuYbHDFkc+2+vTbG0qCwuG4yAn6VFVKXDm5BM2ZurPTs8HNnIaXZ1qrFuMYHuotje7FJwMXe/+6vFd9ocUCGUxL/Ii7pqM18kjKICjsyarTWPFuZP2fbDChx95yp0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de 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 1ruEOo-0004dv-Sf; Tue, 09 Apr 2024 18:32:42 +0200 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 1ruEOn-00BKtc-Sb; Tue, 09 Apr 2024 18:32:41 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1ruEOn-00H464-2a; Tue, 09 Apr 2024 18:32:41 +0200 Date: Tue, 9 Apr 2024 18:32:41 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: "Rafael J. Wysocki" , Daniel Lezcano Cc: Yangtao Li , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cpuidle: kirkwood: Convert to platform remove callback returning void Message-ID: References: <20230712094014.41787-1-frank.li@vivo.com> <20231204115517.zxjgi6ateobjj52d@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yudkqucvkn2t7jnw" Content-Disposition: inline In-Reply-To: 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: linux-kernel@vger.kernel.org --yudkqucvkn2t7jnw Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Wed, Mar 06, 2024 at 10:33:06PM +0100, Uwe Kleine-K=F6nig wrote: > On Mon, Dec 04, 2023 at 12:55:17PM +0100, Uwe Kleine-K=F6nig wrote: > > On Wed, Jul 12, 2023 at 05:40:13PM +0800, Yangtao Li wrote: > > > The .remove() callback for a platform driver returns an int which mak= es > > > many driver authors wrongly assume it's possible to do error handling= by > > > returning an error code. However the value returned is (mostly) ignor= ed > > > and this typically results in resource leaks. To improve here there i= s a > > > quest to make the remove callback return void. In the first step of t= his > > > quest all drivers are converted to .remove_new() which already returns > > > void. > > >=20 > > > Trivially convert this driver from always returning zero in the remove > > > callback to the void returning variant. > > >=20 > > > Cc: Uwe Kleine-K=F6nig > > > Signed-off-by: Yangtao Li > >=20 > > Reviewed-by: Uwe Kleine-K=F6nig > >=20 > > Can you pick this up? >=20 > This patch isn't in next yet. Is this still on someone's radar for > application? Would be great if this patch made it into the mainline > during the upcomming merge window. It didn't made it into the merge window leading to 6.9-rc1. What are the chances to get it into v6.10-rc1? I just checked, the patch was submitted when Linus's tree was just after v6.5-rc1. So it already missed four merge windows without any maintainer feedback :-\ Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --yudkqucvkn2t7jnw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYVbagACgkQj4D7WH0S /k6KuAf/bT1XmaN2Cba7EVDNiZ//oKiFV0fhRs5/Rr5ue/m8zzAVYdq4vvPluEoT TxlpEv/dCM2SPexO4qV0WbdGYyiw0LE7eAA1M2I5P0y4GqpUxV935kmzr0Qr47eo FzpJMCker7SS4DxMH8f9cub97KN79AZycI00s3VmVMkytFy7COBkWbnFOSYfWmdw KNeEJg6xVc2iblfpjCY25LEAhQn7u+JrnmNZ9DY28OENH+oz4xQjH1O/T+zoLYip Kul19p3gctyaXhdNYc0HZD7aQX26mEvpD0O7E4pM1Xh8Ps6DI81ppcrsRZFMVgFi EbiNNMjLiKJWmNsZc3DPZJPma8ydlQ== =FFjN -----END PGP SIGNATURE----- --yudkqucvkn2t7jnw--