Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4849113rwb; Sun, 4 Dec 2022 09:13:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf5hj4CJLqwYALYQstKn4l+pbtxkUDtVeUhTIzjQ6okhTtqKwsma6Dqq3SPnB447HvYtdpkI X-Received: by 2002:a17:906:5398:b0:7be:43a6:a8f0 with SMTP id g24-20020a170906539800b007be43a6a8f0mr31452710ejo.758.1670174019815; Sun, 04 Dec 2022 09:13:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670174019; cv=none; d=google.com; s=arc-20160816; b=KqbbOHGcigfRx52yV9xZpqLg1JgnG4CbJd8rMOw7LMFUWL6KjGnVRwXTzv/EvN/fxg o3GthlSWk/fzXgoQrK5OMjiWDsNza3QRkH3hATrdi0ZqvvwUiqtoViNdD3/+Ps5rUbOi 89VKmF9F0foCAL0MMadO/eLCKmPEtw1cqfUPts3ZcM5cpXZjVjJACJy9lFpOajKWTaSY bAbWt9OwojWJRtW+7ZEl0X4yl8NUqn7kSXBdGpKb+ZfNpohVEUq+Y2fYY/HwVC/na61d t7m/Euia3rqVJpuJMOKCg/MWvPyyUJXBMzm0FxZYm3Nos8qkvQ7mYnHisF9rjYr6ElFt GluQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=txqQGHsKS2HB16R/t0tEkpRAAD52axCMAMnN4lRU2XM=; b=UzYX88VK2nY1HtRmc5M8q/ueASnSNTd+EYETiHiI+Fu88cqcwafq7iKaBEGc7XP1tA 2/2kpNhw0pqYCATpS+/5/SRJQ4ltLLw7AGhlOCpor1FUorCSW2odybqtAPqksVMtbXft 5ynK43sd4mpY1sL51EN6aFMmUxXoWT2a4huw7Wow/jyIBaECbALOo/pq11hWwyDc6Jnm 0abipSil4viwiUfX5zWeLDrndFzjEu4dD4kCLNVrhmp8fzcyUpFf8eOiVf52d3GcSGHR hqAl4jK9FLhNX0No0zVhlvrUDQqgWhCZK1O1o/P6wzzWciX9T+i8+YpT8TCFUT7iI/xE yyfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=zdJkAsr1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq37-20020a1709073f2500b007ae6fe0f286si11901079ejc.12.2022.12.04.09.13.20; Sun, 04 Dec 2022 09:13:39 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=zdJkAsr1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbiLDQpj (ORCPT + 82 others); 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) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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 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!