Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13531673rwl; Wed, 4 Jan 2023 09:21:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXuGhcJzuWvXs7gtCwngQdHtD5v3iFaVdKGwq99poCqy/oYinsO/y93Un/OP3ZpsirQd2mRu X-Received: by 2002:a17:906:aec3:b0:7c0:f719:838d with SMTP id me3-20020a170906aec300b007c0f719838dmr47207623ejb.36.1672852876180; Wed, 04 Jan 2023 09:21:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672852876; cv=none; d=google.com; s=arc-20160816; b=j7MT3l4tqcdtLgz8SkBzQaolfrfzqZM4z9YGfIbusBNu0SlBXPyB4H/AGUBQoIptvV x0OL7bB8sv5/lzW+sPyvF2oktwHVs4QpoSwUyUNuRCoXakIxVLlfCEkqL88gjIGi6jfd V+cdwcLMizIJ9P8rD1v40w0gnbJI1LEQF3VSr2fwZdRmFC+13S+0jUvZg3KeF8yazHag Pq2nnJDqOWo2fjjPsSgni9uex9j8Tl0q/JsnH7v3+FYpCoWygrLn/7ie2i5kBAr+BbP9 8X7P6OFK4VPV8/MeBrMfmB051/HqvE6gxnMn6o/ZxR8nGXdiFyUbvCBweG1iYX6poA0W Nxtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YqJCrFKJuvTL4FCowkMWwLaEVKycE71RXNEurs/DUyA=; b=gA3lRZh85jDBxtflU6klTK15kTJUEtrGpEBoOgLkRMcNo5pTFClDeAga2suVyQtdts 9kyqzRMsS5xskO0J+8TXnM4LmCvRKX8geNUFv18Jgr3dxuCIFob8JDVlJfxJFScDxFKh wbafKxeRvFzN0DRo1b29TpCFKEFKVNmuQhWJAc/3ZFnP4W+yMMrtTU4X9hTWw7d154Lb 2h1sXY3Bi3xGND5PU79b3W5p6pLYlAeM53zWRl+FAdDyImZTyVKjQF47UWpSq29KVB/a kjMF9L5O1rDvEAV2PA4s/NQHMiU73SMPZBME4ad9VBqAHBroigZTA+hESk2gdW9TxwJa 6DuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KIJK6N+w; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm20-20020a170907949400b007ad86f97b36si32433446ejc.560.2023.01.04.09.21.02; Wed, 04 Jan 2023 09:21:16 -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=pass header.i=@gmail.com header.s=20210112 header.b=KIJK6N+w; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239526AbjADRSG (ORCPT + 57 others); Wed, 4 Jan 2023 12:18:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239761AbjADRSD (ORCPT ); Wed, 4 Jan 2023 12:18:03 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19D1E186E2; Wed, 4 Jan 2023 09:18:01 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id z11so33672340ede.1; Wed, 04 Jan 2023 09:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=YqJCrFKJuvTL4FCowkMWwLaEVKycE71RXNEurs/DUyA=; b=KIJK6N+wh4FeiFBZL/t/TvwZbDfvFv7pSngmv9F1VjlRV3UBRM8Exmd/CwQJzyBrMq YDaOxTSwZdx9OL0CcQmCyOOidP7fM8Dquc/E+kCrxaRgJetYUWoLeqppsXPNpTBIYQ6o T46x0JxVCf3gUB6T0AM35b78vu6sWAZzLKLTEHpQO07UfA1P8U3U4AnLFCj3lP8h7iI7 TKyq+nBSsPuUHNAG2Y8+hiy/UBLPO44KpKoXEuwb+gbbB7JdTyCJchKibYHcMqiYAm1B RITpYmKuhD5YwAvkrN2N3Qb2eeUW38nkbtvr43MVexgF8Ze9jmNWcuebRs0KxkJGifE5 5Qng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YqJCrFKJuvTL4FCowkMWwLaEVKycE71RXNEurs/DUyA=; b=u855aYLW+aseJ8i/xi2Dijyt4lYSqygkT2nJCW/6kU2YlxPuLM3XuNOTFyE4RRNFHo sko5AEmHrOXB8sNQRPrMapim/Fav1oItwXfXntW4tioqvbh8fd8w2WBpRQRqbbWSgyTa +8DObAxdMJWGHqgiwTLAzbuAxGGPj5zEPLP86eg/T+2gMGVtxB/L3R5vgA44syACLv9N a0BIpOmU9rVwXv7i6Ai1nqBI0kgMxSP8Q7JsghXUkhQaKEDla7vJ9m26i99EzNgNpvcI 1apWfzLhxjvwSqJdoChyxrWu2ILtcT8ZGscRPmfCqjqiODO2r9D9Xe+Hlk19qyjmURQK QmUw== X-Gm-Message-State: AFqh2kpAtmPtCTpn1lx77lkTd/zGuFpTfig+rL1L+1JwHVI1CKBP1AJR RoEJGHW8B16WcwPYpjW12dg= X-Received: by 2002:a05:6402:380b:b0:480:f01b:a385 with SMTP id es11-20020a056402380b00b00480f01ba385mr41762257edb.4.1672852679531; Wed, 04 Jan 2023 09:17:59 -0800 (PST) Received: from skbuf ([188.26.184.223]) by smtp.gmail.com with ESMTPSA id i6-20020a056402054600b0045ce419ecffsm15056246edx.58.2023.01.04.09.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jan 2023 09:17:59 -0800 (PST) Date: Wed, 4 Jan 2023 19:17:57 +0200 From: Vladimir Oltean To: "Hans J. Schultz" Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , Eric Dumazet , Paolo Abeni , open list Subject: Re: [PATCH v2 net-next 1/3] net: dsa: mv88e6xxx: change default return of mv88e6xxx_port_bridge_flags Message-ID: <20230104171757.2k4hwdpxqe5x5pi4@skbuf> References: <20230104130603.1624945-1-netdev@kapio-technology.com> <20230104130603.1624945-2-netdev@kapio-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230104130603.1624945-2-netdev@kapio-technology.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Wed, Jan 04, 2023 at 02:06:01PM +0100, Hans J. Schultz wrote: > The default return value -EOPNOTSUPP of mv88e6xxx_port_bridge_flags() > came from the return value of the DSA method port_egress_floods() in > commit 4f85901f0063 ("net: dsa: mv88e6xxx: add support for bridge flags"), > but the DSA API was changed in commit a8b659e7ff75 ("net: dsa: act as > passthrough for bridge port flags"), resulting in the return value > -EOPNOTSUPP not being valid anymore, and sections for new flags will not > need to set the return value to zero on success, as with the new mab flag > added in a following patch. > > Signed-off-by: Hans J. Schultz > --- Reviewed-by: Vladimir Oltean