Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp128953lql; Fri, 12 Apr 2024 06:04:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXItgAr1CmdICHUAIcv0IzSeKlStoGp8QrejGxwxdLzPjic131fd7drZP6vEgblfe4C/MhwK80Sbk4O6SAWYjNwfAi4jozUKdu9LQb+Tg== X-Google-Smtp-Source: AGHT+IGiOsEg4rAeeRtVbbgqukbUjb5Pt9EAze/faayOAbTuSCqBcdvGTyzCg0XZnA9hMlICbzTo X-Received: by 2002:a17:906:249b:b0:a51:e2e0:d0e5 with SMTP id e27-20020a170906249b00b00a51e2e0d0e5mr1567613ejb.68.1712927076428; Fri, 12 Apr 2024 06:04:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712927076; cv=pass; d=google.com; s=arc-20160816; b=P+fqIumC9BUT+s52G4ZgfYaiWMZTa0D4i4VjXFCqlM5ao/raws/dirrHNb2GTB+2IH ywKIgjNi9dCxl3eMlr29toB60Z4t2sM01bF29lKpAyD7RdjoxQdhlGRzKMW8QFRe0Wmr 6qD6atlceAQlfZ6q6Jc0Xl1jg5ie64+Sz5QTNSFl8YNjAO4tS4ezvCoA1KE4+KjSdyiG /59bF6K5THu45cgqcKbGzvZ0euhNpxQvCnRJmTrD7XyZFQNcZ5ZcasiL3A8zTPk7KNYa g3b2KN0ceQxO2xwRqfSeoukQXf/uctHM6/ckRfsZNc6oHesGExGhEx6uY2dqD7N8wd94 DKBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=t0e2ABO/3quSQ+VzMXJo8mezwBn2eHtq7cAeAsuPUDE=; fh=iO9LXKal2kdHokumgdLdoqIM1Nk8hj/F34/4bvOGFr0=; b=Dot2I5ULGPBqTK0grwCd7oys69aWJjRYff2PGUFtm8VJg5qLPtHrtjeJa6z6svljDQ qoMWcmISpR4rZro/znZ6x+1Z5zMSGxN30t4e9pnTs1BP2il5pKo92BEJygEgHHb2z+2i gK3blpewrHq37Rh8Nn3jUC5/+KTiLx64u3WrSPcAb6xOZSiO/xxElynBeFC+U6CI07P2 zPgYYAYeLucbyPtjawiFUp2BJtq8QfnHYPHyJlqx0lVUpMUeGguzU5kqs7xKk4gsXc30 9JtPR2tDqySfeOglgLEixfc33GufCZceuktD3deq/FXr2gLXgBho5/nlsE07fqWz6SSp hN/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=OUum1sQ9; arc=pass (i=1 spf=pass spfdomain=enneenne.com dkim=pass dkdomain=aruba.it dmarc=pass fromdomain=enneenne.com); spf=pass (google.com: domain of linux-kernel+bounces-142681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=enneenne.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hr16-20020a1709073f9000b00a4666ecd61bsi1709704ejc.217.2024.04.12.06.04.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 06:04:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=OUum1sQ9; arc=pass (i=1 spf=pass spfdomain=enneenne.com dkim=pass dkdomain=aruba.it dmarc=pass fromdomain=enneenne.com); spf=pass (google.com: domain of linux-kernel+bounces-142681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=enneenne.com 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 2CF2A1F22CEC for ; Fri, 12 Apr 2024 13:04:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 952995EE67; Fri, 12 Apr 2024 13:04:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.b="OUum1sQ9" Received: from smtpcmd04132.aruba.it (smtpcmd04132.aruba.it [62.149.158.132]) (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 616835DF0D for ; Fri, 12 Apr 2024 13:03:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.149.158.132 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712927042; cv=none; b=hH+VvuxlZ6FjhyIhIwOnEmxVfGpoZThqUkEr2pQi/ael88drMVRGrWHQclnp2lRzJDczKPhI+iKcUzOcRga4VkyBkUEpIt1JCU+0me7IUYIoyyd1uyPoVlhL3XqoHfgI3SsmUxGwxqYiUs97bCKHmof70F27d8QHv8YzE468n1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712927042; c=relaxed/simple; bh=Td/ncmI9XkUlhUno++tl/BVScfif0kPUbCiXZcu0rVY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QYtEeJVAQ4RqnheyGASuv6wKJQMmFcvt3sfPp+ZR+MFae5oZyRFM0b8/jlMeWlXL/X3h7nTBMIm4muAUVMLE34df+MI3pIZUjLqF9BTXHImZW2JWVZlm/agQPgdp0G+g53FUG+1NTFC8S6a1YFguAEdKRmG1d+tNQRqzw1A0Su8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=enneenne.com; spf=pass smtp.mailfrom=enneenne.com; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.b=OUum1sQ9; arc=none smtp.client-ip=62.149.158.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=enneenne.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=enneenne.com Received: from [192.168.1.57] ([79.0.204.227]) by Aruba Outgoing Smtp with ESMTPSA id vGZNrbQFUoq80vGZOrTQSf; Fri, 12 Apr 2024 15:03:54 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1712927034; bh=Td/ncmI9XkUlhUno++tl/BVScfif0kPUbCiXZcu0rVY=; h=Date:MIME-Version:Subject:To:From:Content-Type; b=OUum1sQ9v9EUEb8b4zEAnInDffnUnFKcTltD1A/6VCm9kgzRa700pyGXw3xnzEwRD XsOhm8ZYmyLPmEzyie1uL8csOALsxFx6IkVJooex612cz2x02N8vFGdfPOSn+v5T7N PCAIkmZhC09r4C+dlV2N8Xu/ck07Q0WsOvAMVcq8QufRJCZ+RKKtkZvZquVFsufaMP /EKKaHjoOADw1JAcZGri2tdsdT6oMGsQ6lmlRB7Rsdbqen4Guz7dpWf4OuDtv3ePGW kV6wzyNCaLVD2dKKOufWnXrIYr2vv4zSXB+v9KZhovFFnOs+eOX1KnTgccH7bfLfPD UgU5tJh1+JaPw== Message-ID: Date: Fri, 12 Apr 2024 15:03:53 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] pps: clients: gpio: Convert to platform remove callback returning void To: =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de References: <6d73b0a4-34e6-44ce-8757-4f4931c3da85@enneenne.com> <4iii7uxyfovs6ntm7hs2w546k3upbhkepgzxarjk4wnlqmeern@sh6gkyuiqpjs> From: Rodolfo Giometti Content-Language: en-US In-Reply-To: <4iii7uxyfovs6ntm7hs2w546k3upbhkepgzxarjk4wnlqmeern@sh6gkyuiqpjs> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfLXf0ungDy/36KgIpCCb2lW0LqaQSk70vRkZddObUMiGKfOMhs9fZFzpMlYIIvzpVxd9f7bryGWoNuTUCQ8mrxQUl0lfhFqATeRw2WWTnSdGJ9zgNiXe gEYxDMjyzrG62dpI4gWbsVVLbd8kczTxChtGBFkyMaUbVJ7lmmAGgdlu5u6A5fOmOBZOMgWsRDJothgnD2cQiE1knBZPk2AsjYmLdHx02zLkcgmLlp5T4plQ g4FvAqNHSS2f28q0QCm/c8ztrxUMw980dUCToiQvXXY= On 12/04/24 14:26, Uwe Kleine-König wrote: > [Cc: += 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önig 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. >>> >>> 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(). >>> >>> Trivially convert this driver from always returning zero in the remove >>> callback to the void returning variant. >>> >>> Signed-off-by: Uwe Kleine-König >> >> 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.) Sorry. I forgot to add Greg Kroah-Hartman into CC. :-( I've just resent the acked-by mail. Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming