Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1515272rdb; Mon, 2 Oct 2023 11:56:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGEYI+T+oTihsOirsnEEpeNR5nTvXxzqjlgSpKlnl2bWLr8LmHMURG4lGkEf1+gThyzCRqn X-Received: by 2002:a17:902:ed44:b0:1c3:83e2:d0c6 with SMTP id y4-20020a170902ed4400b001c383e2d0c6mr9368509plb.52.1696272960571; Mon, 02 Oct 2023 11:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696272960; cv=none; d=google.com; s=arc-20160816; b=HDYbUP80FKsgxZIWlRTj6EmbgLRZ79MK9fVEBKDWFVqswFjvvOBG7tdQh5Pt8vBqAj N50cJTecxPYYbGpmuLnKmn69+/CVZiHlgEPzJSfwG9bFRUzkemKHMzhpwvODz1jJpkQj 2zfWRkS59ZWjavMxISxz49lxcAX8E2a7oFaUjZNgxYCVMf9ck0QM6wqQAqsRnVR787GF wW+WM1YiJKGSYiYQPWL8Ok98ZN6YdAMWcDQE7V+y5VYra9p9juYFC8PG+BDy4zE5J7zQ q3b63FCQ8CSRu/olBVFrRcq7pXXbxa/pDqvkENjTksVQfV1zmabr5Ajc0arf6A0MNZI8 n1bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wkks9W+DxudlfpHbk9BNI93stsToMHdusjEiud/LF7Y=; fh=5CHWFM5viytVs+flWhOkNaAbzusUvbhLAkNuRdKmqLE=; b=jYT0J+gsBqJM4oppPToWzC3ko+VGJW0ky8UYU9ZoC94coshpm3+9HexP4Tq3OCAaUQ wVx0qBrLnJ1EB3mkz7L5f9fPuwhzJILAvk6VRZ2nJUHk2jqp+BS1Kj7if9UvOSgBQ3zo r7Tepnrna6WrMLkGmBFKDAJI4EkJYeyT7ws5wYnf2YqqJn09GKRy5P8Ykt90CoGtj62W BpNau13aGHizS+r9VL7eVYDCOYCDXlefsFPxI412MDu9gWIc8tX2PrRfXYYkqnB1p/e0 He/f91gM6MkSVyjpk5cy7JuUusgWtHQQCmcDgjAfDy30QVl/L66d/826PxGbgLXN9E72 G9cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TnDzPwnt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id n4-20020a170902d2c400b001c6069b659csi23339139plc.384.2023.10.02.11.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 11:56:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TnDzPwnt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E7240803F616; Mon, 2 Oct 2023 10:20:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238706AbjJBRUP (ORCPT + 99 others); Mon, 2 Oct 2023 13:20:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237856AbjJBRUO (ORCPT ); Mon, 2 Oct 2023 13:20:14 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 173F0B4 for ; Mon, 2 Oct 2023 10:20:12 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21855C433C7; Mon, 2 Oct 2023 17:20:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696267211; bh=SLgvctAoGEpa0Dcyn2+NQ5w/1PZ3Zu/4iXSrOVqEPCI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TnDzPwntJSzRxoK+QbW0s2Oo3Mrul/EyxvpchFeubFgW8ihyytBxTiqRDMhntzNGX fvGN1EcFvonBwEORXT6RpZR3RoczTVwYmHEdLdmy0MNerqDxXZPHfseB/vjCAPmHJI Asg3y5/ftypnvJ80OB3drCP4pZe2XMkCz3017NuSCBxXUoXINvhhkJEDFfszc38qf0 4xLja3cdx84i9zdaznQZsDBY5x+rnKmHokyEDfIrSydyzUPmx84oaLdBFjWNgxDJDB qJof9G0qAE/VJeegTs61SLsbQm5qUn2ZmgaYgzD3/5zxdWWAuJA+hyxYZxvAIaEo0H Es52BPm5mH/mQ== Date: Mon, 2 Oct 2023 19:20:05 +0200 From: Simon Horman To: Vladimir Oltean Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, "Russell King (Oracle)" , Heiner Kallweit , Andrew Lunn , Florian Fainelli , Madalin Bucur , Ioana Ciornei , Camelia Groza , Li Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Anderson , Maxime Chevallier , Vinod Koul , Kishon Vijay Abraham I Subject: Re: [RFC PATCH v2 net-next 03/15] phy: ethernet: add configuration interface for copper backplane Ethernet PHYs Message-ID: <20231002172005.GC92317@kernel.org> References: <20230923134904.3627402-1-vladimir.oltean@nxp.com> <20230923134904.3627402-4-vladimir.oltean@nxp.com> <20230928190536.GO24230@kernel.org> <20231002131110.4kjkinc2xyxtdwbv@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231002131110.4kjkinc2xyxtdwbv@skbuf> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 10:20:16 -0700 (PDT) On Mon, Oct 02, 2023 at 04:11:10PM +0300, Vladimir Oltean wrote: > Hi Simon, > > On Thu, Sep 28, 2023 at 09:05:36PM +0200, Simon Horman wrote: > > On Sat, Sep 23, 2023 at 04:48:52PM +0300, Vladimir Oltean wrote: > > > > ... > > > > > +/** > > > + * coef_update_opposite - return the opposite of one C72 coefficient update > > > + * request > > > + * > > > + * @update: original coefficient update > > > + * > > > + * Helper to transform the update request of one equalization tap into a > > > + * request of the same tap in the opposite direction. May be used by C72 > > > + * phy remote TX link training algorithms. > > > + */ > > > +static inline enum coef_update coef_update_opposite(enum coef_update update) > > > > Hi Vladimir, > > > > another nit from me. > > > > Please put the inline keyword first. > > Likewise elsewhere in this patch. > > > > Tooling, including gcc-13 with W=1, complains about this. > > Thanks for pointing this out. I guess you are talking about the c72_coef_update_print() > function, whose prototype is mistakenly "static void inline" instead of > "static inline void". I cannot find the problem with the quoted coef_update_opposite(). Yes, you are right. Sorry for my error.