Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1240073rwl; Thu, 5 Jan 2023 10:33:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXs37n7qWcbmr8oUhIhuQubRIjGoeR2ekLPOxQTtaL0VsVHoIEXgOKwGIva4idVRWoJvXEbA X-Received: by 2002:a17:906:71c3:b0:7c0:dd80:e95e with SMTP id i3-20020a17090671c300b007c0dd80e95emr51542579ejk.51.1672943603093; Thu, 05 Jan 2023 10:33:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672943603; cv=none; d=google.com; s=arc-20160816; b=JF+/HK6pxHffKMAwKJv7+wLW3hotTkKFy8ZrBg+0gUmPmdmsO7ADccRxLIxPx4YGQp 5ddN/Fb3Zqsnbuwl1Yx1QSiqpqE8AMx9Oe/GWKlXo7MSoASIvRPh1id4VWLzVjrESE/w XiXJ6ycAiJR4/B5GzBoPQzt+aixIIrxcKPEPXH0yBAkZIajaqRK1w/C1GHl5Wr6bivxN Sj0vSgrF0zZrTQR3Z+ULezhdt8OGBrtmCnjnsmjnZNjOYPvZGENIjYN22RSMCS+X0/9D 8ginPJzPHf5JKxFP79hBK+MzMBD973rpGGh9q4/dKlKFxJT7iYWbhtR6wl5qFrpBqcF1 J7PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=mUk9DTz87JwvfY2q6QPGYJSH7jItZSIclzkPj1XsFwY=; b=w/0Jh5SX9bmlBxVBqddZpnBg4zwgLQohVrxCuNe783YnnbM4rypk3RoE+Ctrotgiyo waQ+EKK8VTzyelJl2MAsKRULz/cUeWCdwxs0UIYn7WTRthd3TGQNE731Dug8z429hyFA LQu2Cre3xkxubbv1k+X1rIeNRP7YueI0brX5TbTHctN6vnMI2Hx6t3Tq2akysCDfS+b9 CO+xsEgEUh2aGxDYl93lxrb7exuhtWxPaq6Yk2YPPTN7Yjmxign7RDh+cs1ySJaENXoN dZXVYRIynaPHGCspgvJv6ZUCqiFzxq5EuDJI08koKKbUmT97vU/sn2wj6H/m/MBbJ1wt rq1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D7aCWR5F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a170906794600b0084cb98e14e2si14958374ejo.621.2023.01.05.10.33.09; Thu, 05 Jan 2023 10:33:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D7aCWR5F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234858AbjAESbU (ORCPT + 55 others); Thu, 5 Jan 2023 13:31:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234420AbjAESbS (ORCPT ); Thu, 5 Jan 2023 13:31:18 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38FDC13F6F; Thu, 5 Jan 2023 10:31:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E6A2FB81BA8; Thu, 5 Jan 2023 18:31:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 539EDC433EF; Thu, 5 Jan 2023 18:31:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672943475; bh=SaK0AUs4XAKJbwfwZCnBEO5FT2cIQoQ9UJE/COaeysA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=D7aCWR5FN4ts4HSYWLzf419F5pAgvEBPLTYsdSHTeIyFM/jj8jvY38rMfggFwFWD5 F+XlR3au8wusLhwuSu5RGlvycUBhiWsIi3I01wQ9tA/bNM/HVrOp0KPwUclTzt2uGV ttgEY9bIV9oHmBBysHcDywV4fqYHZZITJ/chdYwh8+tzFjfayP1QUdiAOVSpdELwYV rrRU07RxFHdH77GO8QDGFJvdKkXobDLLX8b3sGtXR3aVuDYmCgborg8d44N2nA7HWC LDB5QRON0lSicHId0wNyupeXWRE5Ee0K7LckPNfAzN5W2OfjeTf3MZaULLjacdw8Af uTyLnTO3onj/Q== Date: Thu, 5 Jan 2023 10:31:14 -0800 From: Jakub Kicinski To: Christophe JAILLET Cc: "David S . Miller" , Eric Dumazet , Paolo Abeni , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next 2/3] ezchip: Switch to some devm_ function to simplify code Message-ID: <20230105103114.6c1ee8ec@kernel.org> In-Reply-To: <94876618-bc7c-dd42-6d41-eda80deb6f1d@wanadoo.fr> References: <20230104205438.61a7dc20@kernel.org> <94876618-bc7c-dd42-6d41-eda80deb6f1d@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 5 Jan 2023 07:27:00 +0100 Christophe JAILLET wrote: > My main point is in the cover letter. I look for feed-back to know if > patches like that are welcomed. Only the first, Only the second, Both or > None. Sorry, missed that. > These patches (at least 1 and 2) can be seen as an RFC for net > MAINTAINERS, to see if there is any interest in: > - axing useless netif_napi_del() calls, when free_netdev() is called > just after. (patch 1) I think it'd be too much noise. I'd vote no. > - simplifying code with axing the error handling path of the probe > and the remove function in favor of using devm_ functions (patch 2) I believe DaveM was historically opposed to those helpers in general. I think we should avoid pure conversions, unless they are part of development of new features or fix bugs.