Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp175032lqi; Wed, 6 Mar 2024 13:33:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdlK9X+RJeMuVb8yNvfG5kbvRTJj6yRSs/LXNOEMMZcRMC/XWmYwpzAsFnCy+19NpuiGNBLEt5eCmzoWdTKwBWrRahl4U1I4FWUNLUGg== X-Google-Smtp-Source: AGHT+IGj+jrEUpKs9TvDxLoRA7IQXniaPv4dXYD5bMcWT1iQS6EbQjyCYJ+EpyuAoYeb/qr5x4UQ X-Received: by 2002:a17:902:f544:b0:1dd:e34:d820 with SMTP id h4-20020a170902f54400b001dd0e34d820mr6748855plf.28.1709760801417; Wed, 06 Mar 2024 13:33:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709760801; cv=pass; d=google.com; s=arc-20160816; b=iIOiPDxVlq2OwWeuqvfhmaTMcBvylgMH2QsyXTRHC8Admmso1DrtSn06zw3dt9+Tyb l4DPrFRlAhgJVtynoUX19a8NQazDSdW6lcqr09oOppAjLmxGUDCpxp9w7iZnJ6RfXrsg xFLF5zUui6IqkjdVeP6NkXKMMnURs2tUdttcV3gG+eKAab32W7sAXgAm2vucHxA88mX2 5TngSwsdu6ljF15Kk6Ztk4tAfkrBE4eMJ9GwCZWM5Jxf0aibcD13rkxFkzN7ZRqpOnHu 2tZ5EhvHmyy6V16z0g1wfTssQFL35T5Pp2nqDzE6TPWxLe1+GbUG3eSkCa7b3fCfE3qM LhaA== 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=+Fm9iq8ysO+x1CsYZ+2fTpU9L4AgkBVTpkj6DA0rUsA=; fh=2+HmcXXDV4wL4TATu2MrSPmO1RhRVD12Vph6dsHNBNE=; b=Q4YTaFp4meYBmSPDgAj3KW10FbAvJo2TqdCqMWD61WUHNGLHjA5nR1KdkT+GVjBJGF ikEBMQFz4s8ox0k49z5JuEgSeGc2MB6j/sExN9C6yLEXk1i8DgNhNrwQz/E9mRDh30uZ 0ob8RLlBBdYB24a8HQB2cDHP1o5qd1LgL4/O6YnnN7qVMtukooRLA9GtRCY5kRgAvopi qImKb1OTLd+851cYLuiIEW3HNSh0MGVmjsiS1a6KXurHd/TZWyBoWWoLJDS3HDgM9pVC NfzPmEDfx7vZI3ZyJ/pbsLugfb787aAhOKudqgf/UURQX3u+KIL3LfLzSTH5bhpDL0K9 Ccpg==; 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-94602-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94602-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 q8-20020a170902a3c800b001dbfaa6d4absi12491235plb.596.2024.03.06.13.33.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 13:33:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94602-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-94602-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94602-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 E9B2C2877FB for ; Wed, 6 Mar 2024 21:33:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC7A21B7E4; Wed, 6 Mar 2024 21:33:16 +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 AB48D1AADA for ; Wed, 6 Mar 2024 21:33:13 +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=1709760796; cv=none; b=fN/exDxJUmnYDVKf5q8j1fP72ZqAytYtgEhiKAAIcca7tyFXWIg8PY+2nrQsFmuno1t5l0K90A+ltDlALdSHJMkLy7va2LfH/seGkbbOMazSZOWQqDlkgULnV2Ahtbb46fze97L6RxV+LMuWjWcw6ybeMI/WLLwuDL8ee9I4Fh4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709760796; c=relaxed/simple; bh=zB/4z/x2XKNW2JybP9Xy2g8+MGPxsQ8gqyCLV3EO/Bo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V/f8DaSXJC0Sm+EzXgNBMnAXPT3TDMz6E2Z1/PlCdyOJVoybXLsbjbpXG0lVzICm2MlMKxrNgg6qNF3f/wmkFL5ZoH1hm7OZJdsBpq9d+/46pBLl5p4jeXGa4Kv8l1hGyFlt/Jrr1kUr1TvzoOKhypVfIHFk7YmxrngueIXY5Jg= 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 1rhyst-0006SR-7s; Wed, 06 Mar 2024 22:33:07 +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 1rhyss-004ouw-9W; Wed, 06 Mar 2024 22:33:06 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rhyss-000t66-0g; Wed, 06 Mar 2024 22:33:06 +0100 Date: Wed, 6 Mar 2024 22:33:06 +0100 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="aobpo24yxtew6zdt" Content-Disposition: inline In-Reply-To: <20231204115517.zxjgi6ateobjj52d@pengutronix.de> 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 --aobpo24yxtew6zdt Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Rafael, hello Daniel, 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 makes > > many driver authors wrongly assume it's possible to do error handling by > > returning an error code. However the value returned is (mostly) ignored > > and this typically results in resource leaks. To improve here there is a > > quest to make the remove callback return void. In the first step of this > > 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? 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. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --aobpo24yxtew6zdt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmXo4REACgkQj4D7WH0S /k62aQf8DUtqxc5xcDdA1xe6wBwVnuEiYFf9lf8qwNUoBlOCE1hR57BLXVYZI3Cm DK1IIcg0qZ5+QvAqSn9L7jxPPrKnOQlh8UsToPpyuTCHQ6be5NVxO7aBEajJrwfL 0ahGrTRn7OdgFOLGqJzbuH+aOUUmxfqBnEF9HXm0lzmPKZDubOZGvOb3iHJ5Td9z Y6h83Y885gY0XKk2H+YHeDzr2vgUmnkEE5M3lxR4lYuRGb7jjei8qy2Jf9NtbGY4 aA4vJmrzVAGASho7N+ZMj2dyqMXTCV426F7c/qWUGmndwhwErhsrLen64mEmibnH SYxRz9mJ+aVW93brufO7Z0orYdhi5g== =AEYf -----END PGP SIGNATURE----- --aobpo24yxtew6zdt--