Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8229982rwb; Tue, 13 Dec 2022 04:03:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf4BSJl+4K2yTwKqW+UMm2OSMCVThEb6Rzzme90fGfvlDhT/MzPu2rzUl/KNgKR+o/NMsI8m X-Received: by 2002:a05:6402:4006:b0:46c:d5e8:30e4 with SMTP id d6-20020a056402400600b0046cd5e830e4mr19578989eda.23.1670932980813; Tue, 13 Dec 2022 04:03:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670932980; cv=none; d=google.com; s=arc-20160816; b=0PpiRUS+s48IyFA3EsQAg/ONhxfEIDvTFzsLwuEUaRKhVM2vxOBZ7K3PVYHU7Aoj+X p70yyHpsqm6cLzVlR7EuqJVXeIw32z7Met97w2Bp7mOzojbcizNVQl1phiv0a/fZmWM7 N6oIjb0NYDyvWx/3+IoaY3G2R+c2K5Yt44ARw4LWp3H7TQWUDTvSK6QgWwJfQnNIaOX+ aXlEWcA4xLHxb/SC9W/OCdEgQVoUta3/o/SCYpXdy8QTBhWV63ownngq6dHku9bwNsvJ YOnk4XwT4t2KcrKFeS/kM1DhmNWyfjXNmMgRqucHiLkGxxFROJMjUcEokRzn/0ESzrEV WZRA== 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=wTliCIUA9M4KMvDQxTYvjOzNAyuBpTA7+qAEQcAV1xI=; b=jx+WYsV4Fx17mBINmF3qjftVLgyNBid/0eOTL8ZnVTUJHBn/q5Q5hqKHAHvycx4uEb pfTL8gNufI2hfojSCquDFtH4JDB+nI7s3rIXvoJW1cw7l+8zJ/ttj9n81u+vUd82AzW7 FKWEWNMTX1jJu7aovwgQ1RdL1Xfv6uZ4RB4Z56meDa3X6VYMHwEtQiOCbWD60kSYwN3Q uwQLkvP4yH5OO5mk/RGTQRvYP7H4e0R77+hpJ0HruAFD8uB35jfE/jcMks56a0LUZ4Cy H1nBKZmhevsnU13ZUEpdRJpL7hiMn6Lv7SLTMi2TsHKptrUD/9KVLZZZQmrcc1iQir3O aU2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=yBbX9KeH; 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 qa41-20020a17090786a900b007c19a5b7697si70117ejc.233.2022.12.13.04.02.37; Tue, 13 Dec 2022 04:03:00 -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=yBbX9KeH; 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 S234994AbiLMLaQ (ORCPT + 73 others); Tue, 13 Dec 2022 06:30:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbiLMLaN (ORCPT ); Tue, 13 Dec 2022 06:30:13 -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 795C0B0B; Tue, 13 Dec 2022 03:30:12 -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=wTliCIUA9M4KMvDQxTYvjOzNAyuBpTA7+qAEQcAV1xI=; b=yBbX9KeHOK1dP/0r7d76dtnU09 Hct8B4/7K5EmLby6RB+zLXIDLMfxHhN4sIqorfJIpLRphopq6zhiowh+A5HU0dGzIfH//05HIunk+ Q0vEvqhQhZhWX7usY+r8e2DThKeYE2jgxDGWTTOgOzY2trb5F/XXayHpY7B9jG2lAn1r2CYt3mD7t qTVPZaUENJf7w2lx23oKAraG1Qsi3/bLnSyIGQgUwfXFzPYpRuvcEAzLjjgc9zvAxkAs0FgG7cuFi /xW8uzJX/nUR3d57COVb6HpefsoSmb5glbtpAcVhqgMd6LfzcIeF+00OLIaiAFgHE7IBboszUzoqd 4dGCneaw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35688) 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 1p53U5-0006lw-Vq; Tue, 13 Dec 2022 11:30:06 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1p53U0-0006PO-5A; Tue, 13 Dec 2022 11:30:00 +0000 Date: Tue, 13 Dec 2022 11:30:00 +0000 From: "Russell King (Oracle)" To: Daniel Golle Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Wang , Landen Chao , DENG Qingfang , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger Subject: Re: [PATCH net-next] net: dsa: mt7530: remove reduntant assignment 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, T_FILL_THIS_FORM_SHORT 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, Dec 13, 2022 at 04:07:35AM +0000, Daniel Golle wrote: > Russell King correctly pointed out that the MAC_2500FD capability is > already added for port 5 (if not in RGMII mode) and port 6 (which only > supports SGMII) by mt7531_mac_port_get_caps. Remove the reduntant > setting of this capability flag which was added by a previous commit. > > Fixes: e19de30d20 ("net: dsa: mt7530: add support for in-band link status") > Reported-by: Russell King Please update the name and email address as per my reviewed-by below (the "(Oracle)" bit is important since I now work for Oracle.) > Signed-off-by: Daniel Golle Reviewed-by: Russell King (Oracle) Thanks! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!