Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp107670lql; Fri, 12 Apr 2024 05:26:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVoX+vJEZExCeo8f6mO0zSG9CDQxAUC57Ki1Uy9mPitQTRwgDhpY04n9rIY6abfF1y0iH5q6UsbjZvDrBLZR53F9/FyZOzZgp1qfBTHcA== X-Google-Smtp-Source: AGHT+IH6TIHGJN4Y6XHi6XCEew+v/AvFebcY9eWucrMYaYXRrq4sLyBZflcPKj5ztn7xuwtRTLer X-Received: by 2002:a17:906:2c59:b0:a52:b11:5404 with SMTP id f25-20020a1709062c5900b00a520b115404mr1459677ejh.5.1712924819695; Fri, 12 Apr 2024 05:26:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712924819; cv=pass; d=google.com; s=arc-20160816; b=SNI/zakU7n3wh3ho3xAVMeYH3MYPlX8CIuG9vpm9Y+8Ig++5DoXeBkT7VD6T13nIpz /Zrb8Z771pVHtNLhV6SK1e7P4/5WjqYDxmvTP9E5cjQRy4X022hFFlPncZz8xsomLFsi 1F8GsL/FN+CHdql91yCgpuTpQD0JltiUoFCsoXYCeL4WNWmZbFGEzHPckdhcdLdJicIP VtLh5dj5HZOytFO1IU3EITNTrrjyVDhVKuBWN7qXRT+CEXXYAtEV3t6OE+PgOl3FHa8A bB8ZwFhCTmW2+FHk1xaAh40ieTCN+67HdiWMlQrqg7aFXe8uVJ7xK3GH7j0R4pcAOocY NWkA== 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=+CKtEOnY/Z26cv4G9RvlsNZhADCJLuofArSp4rq2ZLk=; fh=z+GMBF/JM3CCkWotZ1JawZwqtTnpxzXKTCXLqjkWyT8=; b=Q6vx6OepM13Cl84yFSpW/9aeKb6jCrFNMWMKVgtT8bOmjIY1cJqjZJoWPla7e3KW1b GCHhDUljty+Frz3KoSRtSAMOAYhz6CAwovTneJuHjXWXs4Gjo7XiUe+gAuetTBmcy87U yhingiPavJzYmbdjVBQ4IaMaQrfURI2KHjDKCPimphP9ScL/umbpDkVpklyGaedKhy+K fnbniimP+z8nAr+Ihm8thrtyqX5TGUJolYxFbwmJzLe4YH1IcUk4rTh/mDJPGQ/7wZLM DMAOlp3AiZXad+0rkKb4kXo6e1X8pkCo4J+0JLDSEgEvSW9zB5mjwCCvtL6MQb0c/GXA IOLg==; 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-142642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142642-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bv21-20020a170906b1d500b00a4e41006c83si1700181ejb.125.2024.04.12.05.26.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 05:26:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-142642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142642-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6E2021F22971 for ; Fri, 12 Apr 2024 12:26:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3D7A56750; Fri, 12 Apr 2024 12:26:53 +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 5FDFD56444 for ; Fri, 12 Apr 2024 12:26:51 +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=1712924813; cv=none; b=REDmCZ2j+3X48prAqrNjB3s5ItqGhv0dqjwh0xxu1zW2xQd4Oi/CHrv+sNBb0vZnSS8k+yuuRpwkFSznOZPYYyF9I9vaFSd4gWxo5nqnvMFtXQAv5iTgeuBd7f3YGI0lJQKnk+Tv95qTdRdD7KIIkumu2N1VWk28xxlX9ilbJdY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712924813; c=relaxed/simple; bh=tzP3amZEpajs2WOU6zX0VAE0WXMtT389H19L21TY/ow=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cWAsvSJcrWJ5tqB3It0IVmnUF8Li5ILnX2LIj4e8sSfo4JafjntLX3dIVgggn0/V//0GiJu8+OEmnygwr8YnwotXZusybJBZdui96B+T3DBShBKg1D6oInXSs9V3sptvep07k/I6rjSD9tCXpU1jNW2axjR7dzk1OMk3Kmksh10= 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 1rvFzV-00062F-LM; Fri, 12 Apr 2024 14:26:49 +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 1rvFzV-00BsD2-5A; Fri, 12 Apr 2024 14:26:49 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rvFzV-000ANV-0E; Fri, 12 Apr 2024 14:26:49 +0200 Date: Fri, 12 Apr 2024 14:26:48 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Rodolfo Giometti Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de, linuxpps@ml.enneenne.com Subject: Re: [PATCH] pps: clients: gpio: Convert to platform remove callback returning void Message-ID: <4iii7uxyfovs6ntm7hs2w546k3upbhkepgzxarjk4wnlqmeern@sh6gkyuiqpjs> References: <6d73b0a4-34e6-44ce-8757-4f4931c3da85@enneenne.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="6gvlmrxnnidgo4ab" Content-Disposition: inline In-Reply-To: <6d73b0a4-34e6-44ce-8757-4f4931c3da85@enneenne.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 --6gvlmrxnnidgo4ab Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Cc: +=3D linuxpps@ml.enneenne.com] 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 makes > > 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 drivers > > 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 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.) Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --6gvlmrxnnidgo4ab Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYZKIgACgkQj4D7WH0S /k5IEwf/Q840SKxdW46c7jlpWLRe6JFxdoOz1zEv78UGoww+c6dPbdy4atrzx7gJ J+7Tvevw52MlzKw9D9sW49RXn5nKHtXOStgJejdomTkLhVWX7O6ci3vq6JwuSStv qsFe7/X325gDtP6yxPQGBO3UvjfEIHSPSWgHJPzAbVxjb+V2v6Ddb9Q2iBlpo1PZ x7J2p+F8zLHYLw+KP3j99IdVABZS+9DOftASjIVZfg58YzEb3sgImZA0Ukgm+Hgo ehExojDWdglDdmH7uIlaMzqK66ePa6XyYMjA+qm2+c2+IXF2C6/Z8pTzx0fosOyk VU2UVP8EJ/VhfezTto04mqcgrtS5XA== =VMef -----END PGP SIGNATURE----- --6gvlmrxnnidgo4ab--