From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 602DAC4321E for ; Sun, 4 Dec 2022 16:45:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbiLDQpj (ORCPT ); Sun, 4 Dec 2022 11:45:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbiLDQph (ORCPT ); Sun, 4 Dec 2022 11:45:37 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8E5515707; Sun, 4 Dec 2022 08:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=txqQGHsKS2HB16R/t0tEkpRAAD52axCMAMnN4lRU2XM=; b=zdJkAsr1FUT1Df7AaadDT0P66W UmUNA0WXxlFaBQSONCam0m4UQn5Lh4X18dxPSCdECyoOeC0RZoK9Zv7zQGtWlgEWqvlptVtsS9ZFH 4xUmyhrZKPZPQNrOjqHNQQKQTAm9OprMOJBi9NwIY74f1oZbFW/6IOEx9Yj2DAJbFGEju277jBvfv dUiMZoeOlwB1PFHDyBnTM69fIDuVNkjedqS/6HjTVYCmtgVdfpsaphF206pmPACO/Z8HlFUqncvK2 6xgQ06eD7PlJ69y6JGT8Y7dqEogbia1lals+zXgxqQmpPd6ipeJPDgzauKnDffViyF+H79BX46F5+ k2o3d0QQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35560) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p1s7K-0005v7-Rv; Sun, 04 Dec 2022 16:45:26 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1p1s7G-0006QV-9m; Sun, 04 Dec 2022 16:45:22 +0000 Date: Sun, 4 Dec 2022 16:45:22 +0000 From: "Russell King (Oracle)" To: Piergiorgio Beruto Cc: Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Oleksij Rempel Subject: Re: [PATCH net-next 2/4] phylib: Add support for 10BASE-T1S link modes and PLCA config Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, On Sun, Dec 04, 2022 at 03:30:52AM +0100, Piergiorgio Beruto wrote: > diff --git a/drivers/net/phy/phy-core.c b/drivers/net/phy/phy-core.c > index 5d08c627a516..5d8085fffffc 100644 > --- a/drivers/net/phy/phy-core.c > +++ b/drivers/net/phy/phy-core.c > @@ -13,7 +13,7 @@ > */ > const char *phy_speed_to_str(int speed) > { > - BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 99, > + BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 102, > "Enum ethtool_link_mode_bit_indices and phylib are out of sync. " > "If a speed or mode has been added please update phy_speed_to_str " > "and the PHY settings array.\n"); I think you need to update settings[] in this file as well. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!