Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp228867lqg; Thu, 11 Apr 2024 00:22:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzatckvc30BmkeVLuNzqij5f0/M7jmXFZV2WaleSOteBur+Y+j9hekCAH5k3fwyYCNZWLO9H1WBSSXCelFVtuU/hCFdjfJOCyOgP1CCg== X-Google-Smtp-Source: AGHT+IE/dd/r/F8OIL0laVYfBZle4JAQ2aySfk5e+5l7ZCHIwxStDklpKxG00f0ImkFjeH4CKTqr X-Received: by 2002:a17:90a:ec09:b0:2a2:ddc0:4bf8 with SMTP id l9-20020a17090aec0900b002a2ddc04bf8mr4667025pjy.31.1712820176002; Thu, 11 Apr 2024 00:22:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712820175; cv=pass; d=google.com; s=arc-20160816; b=DtEEpj+RvvQEBR6Z0bOUyXcRHPqvwANlEMGsGfNPZ4aHF4JL0ZcGLH+yCsl3tmWztZ TAGdFhBYfkg18io9WpOzOjM10jeZDM+1c0FZ2/frkp4xtP3jw4KAxMX6mztk6eLvzg+D uqgpcleFsrX4VivMIBa2hwGM32rEVR1Bt0XYpxHVTcz8gFRF//4iIZ0fLcdKUW/nbGVS vw3Aa+Fk/Yb/6wg8rh5xsIjz2Lao3tXIRckfBN4XFAsYa8/IGfRY3Z8yWudDiqEO792F 758YWcfxPjmbbtreZPeq0H/gsZT3QaXAUgIOw7nPF638Um+8XItLViNvzhURiFVcwB2j ji1A== 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=0zPzO/tB7k0h5FyS+0CvEXoOjlWahuCo0RaejJXgW6s=; fh=5fnglcYh27YVOYR451eJi/5vvVaE0jzLN8/5Y/Qll+k=; b=iYBv7NqzILHrWjbdzzETzMTPBrbh9PJWmcQewqS72kGD/CDLRLV7PMnj3tirQL96Az kFTAnwcqXzZlKpRrhz5dxlt4QPG9lb5f46Raf+Vk0zvk78dqQCJ1RMzoE/VwyRs4y0l/ WAJQ/Fs5PFzm/dm1aVeJ9ENjsT/mTxZwXWbwrv2LybcFghYhhSOj6s+izT8yc1rTA6MR jZgduoZCr9CY/Lkb5uB/4h/4fDs9V62zoprvbzimwx1/GFUSwKJgq3QDYRbWm5BXcKN1 ot0kKu418RUlXtShe+EvKrhlYm+hqLKUtmAsyWYwPeulhnN1wQAOFfH3evxewD32dX7W EkyQ==; 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-139929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139929-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q144-20020a632a96000000b005dc352a5637si748924pgq.323.2024.04.11.00.22.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 00:22:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-139929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139929-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 604DFB287BA for ; Thu, 11 Apr 2024 07:09:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F180D143C4F; Thu, 11 Apr 2024 07:07:08 +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 5AB8A142633 for ; Thu, 11 Apr 2024 07:07:06 +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=1712819228; cv=none; b=UmUd1ucA7OUPFzwm5ys6XB0oIkAWjw1YnlaXtQlJ2W7iYTv5n/8GEfZ5JQjxaz5vtfoW7WdNMqSbqOnMFMSbKRZj8zDd9iPmxog3OBYWjn8iiWfKyNcruMmLfrThfOdI8F3cODJG5Kv2ORIVF+YsrLpylyl7ggp891tTNRHVyWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712819228; c=relaxed/simple; bh=z102dTd1Nsgv3jalN8kJhAvPFw+vCjjDKRui0D+eUEo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JXxBYevUcntVS/S278VS97qz+r+DzMNV+CFYsH52r4gSexqLr2GQL0bDmtJVhn0B/yxU/sJDCa6fgaozOGqFtEOc0nzkTQrVR5cA89mho7d+pSKxdKMEMKHqkGdkMM0cjGPg2L+lF0w++9+3/RHhS7Q2Wmhh2MgcMU6RRhthxq4= 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 1ruoWV-0005Mr-SR; Thu, 11 Apr 2024 09:07:03 +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 1ruoWV-00BdY4-50; Thu, 11 Apr 2024 09:07:03 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1ruoWV-000OX6-0E; Thu, 11 Apr 2024 09:07:03 +0200 Date: Thu, 11 Apr 2024 09:07:02 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Alexander Shishkin , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH 7/8] intel_th: Convert to platform remove callback returning void Message-ID: References: <20231107202818.4005791-1-u.kleine-koenig@pengutronix.de> <20231107202818.4005791-8-u.kleine-koenig@pengutronix.de> <87edd5y7lz.fsf@ubik.fi.intel.com> 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="yl2xwhqpkfytrksb" Content-Disposition: inline In-Reply-To: <87edd5y7lz.fsf@ubik.fi.intel.com> 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 --yl2xwhqpkfytrksb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Alex, On Wed, Feb 21, 2024 at 08:50:32PM +0200, Alexander Shishkin wrote: > Uwe Kleine-K=F6nig writes: > > On Thu, Feb 15, 2024 at 10:16:41PM +0100, Uwe Kleine-K=F6nig wrote: > >> On Wed, Jan 10, 2024 at 09:41:54AM +0100, Uwe Kleine-K=F6nig wrote: > >> > On Tue, Nov 07, 2023 at 09:28:26PM +0100, Uwe Kleine-K=F6nig wrote: > >> > > The .remove() callback for a platform driver returns an int which = makes > >> > > many driver authors wrongly assume it's possible to do error handl= ing by > >> > > returning an error code. However the value returned is ignored (ap= art > >> > > from emitting a warning) and this typically results in resource le= aks. > >> > >=20 > >> > > 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. Eventually after all dr= ivers > >> > > are converted, .remove_new() will be renamed to .remove(). > >> > >=20 > >> > > Trivially convert this driver from always returning zero in the re= move > >> > > callback to the void returning variant. > >> > >=20 > >> > > Signed-off-by: Uwe Kleine-K=F6nig > >> >=20 > >> > I didn't get any feedback to this patch and it didn't make it into n= ext > >> > up to now. > >> >=20 > >> > Is this still on someone's radar? > >>=20 > >> Is there a chance to get this patch into v6.9-rc1? Are you the right o= ne > >> to talk to about this patch? (According to MAINTAINERS you are.) > >>=20 > >> The patch was sent during the 6.7 merge window and now already missed > >> the 6.8 one :-\ > > > > I failed in several attempts to get feedback on this patch. You applied > > the last two patches for this driver (that is all patches since the > > driver was born). Would you care for that one, too? Tell me if you want > > a resend. Note that the other 7 patches from this series are already > > cared for, so if you're using b4 am or shazam, make use of -P7. >=20 > Apologies. This looks good to me, I will pick it up for my next > submission to Greg unless somebody objects. Given there are not that many patches left (~50) as of today's next, I'd like to see this patch going in during the next merge window, that I can finalize the (next step of the) quest around platform_driver::remove. Is sending this patch to Greg still on your todo list? Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --yl2xwhqpkfytrksb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYXjBYACgkQj4D7WH0S /k5fEAf+Nq54JrvztGVvk0m0iweAHUrUGtKa/QdaIu1S6HXWyc8KHWLfOPVpGSm/ VPRbXnkPNHB24gmJ4/kamiVXJ8ookD6+Z7Co6R5v/siXNy6lYvnR1q6UpkB7ONib Oxhj5GgBBJSMnKcpZujnQyHJnt5iyAOAogyCeAjz6syL2CPGfKu3TAflAXTJqgyI t0SMSFzzoID/lnC3mPSUn0pVvU0477JmvPSJBZLC1r3Y5IqdTdA1mYEkXqZwLSDF PiRmmof2nTlciKRkm3fvrphGvCi3Fm2xlibmNBJ1OoT8BRtzvfHn8zcwZV1VC1nn 1gIYEMb27GE1QUSBlR/A8X+W4QxMSQ== =dCQr -----END PGP SIGNATURE----- --yl2xwhqpkfytrksb--