From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E06061A73C; Mon, 2 Oct 2023 17:20:11 +0000 (UTC) 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231002131110.4kjkinc2xyxtdwbv@skbuf> 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.