Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp528516lqo; Wed, 8 May 2024 07:15:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRoB8VZDeOnIUqSaF7I3GKjPd4CcQL5cZ0meNBOOO8ZPY5cttTA99zcV7ktlEfFCDW8CwyR1m5Aong7/I785vb2J2A/wHbaEXJG4Cjww== X-Google-Smtp-Source: AGHT+IF/rRCEFActXMjGaqxgWlAuj4qtocqzZ2CoueEsg1f4fOrbo88YCMzUVHMVkPFryD/uaeIq X-Received: by 2002:a05:6a20:748a:b0:1af:9ec6:afb9 with SMTP id adf61e73a8af0-1afc8d1a6a3mr4086349637.2.1715177727715; Wed, 08 May 2024 07:15:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715177727; cv=pass; d=google.com; s=arc-20160816; b=mJ4fEJO78HonNWk3/JsYt1YARvkYnoFYcjAnExv6+RBVPZgD5+hesquT8uACHq8Vgt 9zEr63PGAwHUST3Bzush1BUL+1TGibOnOejhz1QVNjxBFJok+WaHiQFGqnyKOihV/irF 7i8ghcoSvXs4rD4jlfRl9eI6d/gCS0Bx1uncdA+5EuTen/iaYMd2mvM7qJuppmgyp5Qa bw0w5v+CS7liGHWpecAokNAo+5Hp4usbFZ3UWPVLGd/3iWJmeDauMg6mrrMoRyi2g00s WLbr0WREPS/BeDqUiR0r5AbQfQzyVc7dTBtWm+iybtIUrtFVh2HvytxwttEEsax90Evc Cm1A== 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=AIgUtlPuKVjRIhsthfSH5omhW7KsSEAGoaN474u7aZw=; fh=NmDB/jiSzHPGdT65KnD2004wTK9vawt8P5hDx+fOhsQ=; b=SAGzsOtPSQu+MT7L+tnjKZY+/kzHaw3Zt/goZJy0Bb03Oog+BbXgNj/9pNZmUcq+/m ctAB1WcL+OqSRgaopbthnxGWEowck/r6f/oNOv6RohvqSSxezSM3eoPmaqcSIFSOlNyQ UHGbl0HXC0R8k64ioXV2VNm2AX9iTgVDVUhjj3Hg+EdSfBK44BQGoJvnyHM529qP1Pir z+BGIOcS9yVYZl6TyNC017qa1yYOwG/Afz2EHwOv6s0tK2OwUX8PYhBYwF0OClOzFF99 8gNJ1cPwq/8BdITLaQ6G5NVC07e97ENoBnSYlMDeKMoyt/qUJWyc4hdFrXQvDbqNyzUj AfRA==; 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-173374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173374-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q11-20020a056a00084b00b006f4b1e84fb9si1012646pfk.187.2024.05.08.07.15.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 07:15:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-173374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173374-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 030FFB269E8 for ; Wed, 8 May 2024 13:58:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E803D84D3A; Wed, 8 May 2024 13:58:01 +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 74E9947A5C for ; Wed, 8 May 2024 13:57:58 +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=1715176681; cv=none; b=XQLSNTsNd+YGrlMAoTim29SFmmVFKEXLDdCJNVDFoLYRyhA/g5BJWmbF9/eRIran2T4K4h+K1e5KZrIjZ7xQCebc7VLhX7OFIaw+opMu0rpAa2o6CdeTwAbocKWReYrGf3nShlosQegUJxpcb8M53Lfyt/a6PwDKxTB4npuTvjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715176681; c=relaxed/simple; bh=WkGKWaDMg+oxjke1haJBfipdxFIztlUQio/y+Mte9vk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sNArsAqGEDmyNZ0O22JMKvCFXsjkfnAAF5TCPkpnnS5wl7bMjyc0HPWb8GXsGC9xF3pZiU1A3AqBpkHFIXM48qPQwRSFntVfSipGM6w+HPa+Wyd8BXsOUgwLjy5vUG4y6yI5Z4XE/dYTOq+lwNMvIuKnICVCBNxYoZn+iIC+5W0= 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 1s4hnw-0005z2-Eo; Wed, 08 May 2024 15:57:56 +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 1s4hnv-000Hjx-U3; Wed, 08 May 2024 15:57:55 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1s4hnv-000Zj0-2l; Wed, 08 May 2024 15:57:55 +0200 Date: Wed, 8 May 2024 15:57:55 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Rodolfo Giometti Cc: linuxpps@ml.enneenne.com, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH] pps: clients: gpio: Convert to platform remove callback returning void Message-ID: References: <6d73b0a4-34e6-44ce-8757-4f4931c3da85@enneenne.com> <4iii7uxyfovs6ntm7hs2w546k3upbhkepgzxarjk4wnlqmeern@sh6gkyuiqpjs> 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="l2exd44x4zpgzyxq" Content-Disposition: inline In-Reply-To: <4iii7uxyfovs6ntm7hs2w546k3upbhkepgzxarjk4wnlqmeern@sh6gkyuiqpjs> 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 --l2exd44x4zpgzyxq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 12, 2024 at 02:26:48PM +0200, Uwe Kleine-K=F6nig wrote: > [Cc: +=3D linuxpps@ml.enneenne.com] >=20 > On Fri, Mar 08, 2024 at 09:57:29AM +0100, Rodolfo Giometti wrote: > > On 08/03/24 09:51, Uwe Kleine-K=F6nig 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 ignored (apart > > > from emitting a warning) and this typically results in resource leaks. > > >=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 drive= rs > > > are converted, .remove_new() will be renamed to .remove(). > > >=20 > > > Trivially convert this driver from always returning zero in the remove > > > callback to the void returning variant. > > >=20 > > > Signed-off-by: Uwe Kleine-K=F6nig > >=20 > > Acked-by: Rodolfo Giometti >=20 > The MAINTAINERS entry for drivers/pps lists you as single maintainer. > Who is expected to pick up this patch given that you "only" send an ack > but didn't pick up the patch? (Or only picked it up in a tree not > included in next.) In the meantime you sent an Ack to my patch. Does that mean I can/should include this patch in the series changing struct platform_driver that I intend to send to Greg after the upcoming merge window closes? Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --l2exd44x4zpgzyxq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmY7hOIACgkQj4D7WH0S /k76Egf+LXTa3JOc5moyPTsiH03oXITiy/C2BSfJL0T1V6NP6vcbp4iOv/KK0NuY WRrokUjCmTCi+K3YIZmtbkUOyk5XrI2K02Su16J86RCU+XJksoKRTAdGo3m+PTqr ESJfPkPqkLJ4kwSJpLGPxrRJMVLKCWhgmvBYppCYucSxGxfxZcMleBrTnFFMdCPc udupzK8vaprPVNKbAFfyOY7OazzsbopSaYGYPLBgrJVfUiJJmp1c3TffesEVZYKy nFxZkD5Vo39w7s6sts1digxHTtCCVcx5fULfk1EhHIdbeolybYFkqEZiZE4sm9vC tnxTQSblEBTkNNbRwBEuBiFnHpMlaQ== =r0Au -----END PGP SIGNATURE----- --l2exd44x4zpgzyxq--