Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5453543rwb; Wed, 7 Sep 2022 03:08:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR7MZ3/tQZg0rBYgtoYT3JjNrCsKHiQzO+1RhJxyduuyhlmSMOILmje5NGp27aeJG24M/c27 X-Received: by 2002:a17:907:7d8c:b0:731:65f6:1f28 with SMTP id oz12-20020a1709077d8c00b0073165f61f28mr1751910ejc.91.1662545320725; Wed, 07 Sep 2022 03:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662545320; cv=none; d=google.com; s=arc-20160816; b=ZR+XmqVSHijFQyt8mvejXdNFeKVMMlRsCcWvEyjkphPv7oWZ4vdV4DaSGbGZoGe4DM L2qcyWTyyaGZeCEhG9480tZoWhq9EmDKGe68PKwHX8o7LvG/sSINn1h32HA2GJHiXs8d AcbJjibvCyyP8dgPaZiagakW7UFiWazNgadors1QG6vz2zbXFjI+OtWIHzUInFuhCOxI Q6Nr/kqPo2j3y+GREFCgmpzS1Mfq4aFl9NYt5fckAWjd1FUkc0i9FRHFXVWKO6pQELNk wRreCnXSF0372JjQ8A5FsTgu7j1uKhh0jSavtMbhVuKG65CtMEtBiVZmi5aTs7KKJ5Rx d4pw== 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=bBF+Rv278ELaWQYomVC/R80IlaIGgocgfWpC09/monk=; b=WPoqnj679/ZxumDTLM674I/Kv7IpGfOYcrrVZjr2bo5LYgvIaP6QDIYWeU8tLeKcVr njsOTO7snUAPBEFRIENdBYAZrvRk81xV2S0d28YK8WzQHp+yA1ITOJ8uESVB7CKc4fmp kD8Cz8JY9DkEaJZkwFTvOGt8yVlJlS51g5bhiB6er+XCO1gyUzOiOuD9PvG2G0A7GL9w HZz0y+YxyEGhYbrlWrcFKJgAy67v3m0ku0E09wxMvw7Sw4+torkidEeFTBSfVpmb8fkP ehaAtB+0nzRyL/ufPrUJgQsWeQzC8MZdsSJgO0MqraLh1bYsfiS2GWH+3zRGKUF+OtG1 6KkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=BmU7sg+G; 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 cw7-20020a170906478700b0076f0ab97742si3566437ejc.489.2022.09.07.03.08.14; Wed, 07 Sep 2022 03:08:40 -0700 (PDT) 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=BmU7sg+G; 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 S229527AbiIGJmI (ORCPT + 99 others); Wed, 7 Sep 2022 05:42:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbiIGJmG (ORCPT ); Wed, 7 Sep 2022 05:42:06 -0400 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 664D78982D; Wed, 7 Sep 2022 02:42:05 -0700 (PDT) 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=bBF+Rv278ELaWQYomVC/R80IlaIGgocgfWpC09/monk=; b=BmU7sg+GF1Of3WQeA96HPNTZv0 SpBcXOo4lMKY6pvWPnioBiXflfXx5ILHzziKjynM8D6ix0PApYa3dKN8opEh1pAqubmJyG50wsJLu 6EKXCO5xB6pxs8hBozRNb+dMtAPv06fNbXJmqg/FbIUHNSHyxV6luWp5ida5Qc5P5LP+Nf0rhYl8h joX9R1r0/CeCTWF//jmLhqZFQSMBgYE6wnWiqO9s27iqG9ZUbPCz4jh3bpmtYYmHIg14Ox5jWOkRG 9jTWq9b5QtBnB0D0VDoB0E0ezkksDNmjI5g7xdv1/Xn4GpJF74/p97JhA/W9/WSMpjATM7VrwP9Y+ zwxJTDGQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34170) 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 1oVrZL-0005CI-8k; Wed, 07 Sep 2022 10:42:03 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oVrZK-0000sV-F6; Wed, 07 Sep 2022 10:42:02 +0100 Date: Wed, 7 Sep 2022 10:42:02 +0100 From: "Russell King (Oracle)" To: Sean Anderson Cc: netdev@vger.kernel.org, Andrew Lunn , Heiner Kallweit , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Alexandru Marginean , linux-kernel@vger.kernel.org, "David S . Miller" , Eric Dumazet Subject: Re: [PATCH net-next v5 3/8] net: phylink: Generate caps and convert to linkmodes separately Message-ID: References: <20220906161852.1538270-1-sean.anderson@seco.com> <20220906161852.1538270-4-sean.anderson@seco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220906161852.1538270-4-sean.anderson@seco.com> 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, T_SCC_BODY_TEXT_LINE 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 Tue, Sep 06, 2022 at 12:18:47PM -0400, Sean Anderson wrote: > @@ -409,11 +407,14 @@ void phylink_generic_validate(struct phylink_config *config, > unsigned long *supported, > struct phylink_link_state *state) > { > + unsigned long caps; > __ETHTOOL_DECLARE_LINK_MODE_MASK(mask) = { 0, }; net code requires reverse christmas tree for variable declarations. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!