Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6013480pxb; Tue, 16 Feb 2021 13:37:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyS1pbmg6/dY4mL5AkoturtS0ujCG8smnYauvkltdiSBgeE1fEuCv9PpVFQP21GxqVlQXNg X-Received: by 2002:a50:9ecf:: with SMTP id a73mr22652858edf.181.1613511422572; Tue, 16 Feb 2021 13:37:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613511422; cv=none; d=google.com; s=arc-20160816; b=DIgktVkG051sgcx2R72FnVbPzzdljgbP/ogTM0XDiSST8vBfx58sDGUjMusXT/I3LA SqvfxZhnlO7jN9DMsfgoGQsiTk5vRilG2uxxYj6ansARKLFhcgTB8ERECYU4myBcNB4o jIerJildirlHYiH/rfuNCiy5/3YLsyZVQMuXwZGFXY3WeU9Y3av9kpEPnKUPZrmwoaMZ AefNuPj9dnR82vhbLYNd5UzXqiGEt6FAb9Qo+CPGs/zBJcEuRs4dU+v8euzCoZYcHJmI Vnh+hJXnwi7rNajCIUnVzwLd2t6DZNIYJV4bgKSwxjVOKCUIhXwCdKTOxJ/UxDoEwcDm l32Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=kerGdmsHZSx1m/za1RBwnks5BX1sVJQaJUG7JWMBA0M=; b=QP/cIVvpRafZCCDrwgd0YkH/6rxLrFiBhpoK4QcYYc3FFkYmTX+rfxrIs5H6AEpAX9 Y8V6Y5RKc2jD1csCnrfpr2JXX2M/yEurKdte5mAJBJPfEqwnZAoo04QHHns2GwMdLTYV ZubMBrwHB04rKyqpBQ93sarBbPEnIQb6kxGw72SvWfiwz6cNq4ceO/EcwwXaRtl0/vXO Q64OXEBesyMGJrZaWWKMxH3MDrknHqb2GHCL887Yx9rDbW10lOp4BEaf3jQnKny/F+12 YAcASjuDreMPb0ZCnpaa6fpMxsAugf4Yyks9TDjwkpAsOKpEJgAy5depgMzhCU2K+95o +7fQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si8750723edb.405.2021.02.16.13.36.39; Tue, 16 Feb 2021 13:37:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230255AbhBPVgH (ORCPT + 99 others); Tue, 16 Feb 2021 16:36:07 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:59904 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbhBPVgG (ORCPT ); Tue, 16 Feb 2021 16:36:06 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 2BA151C0B9E; Tue, 16 Feb 2021 22:35:09 +0100 (CET) Date: Tue, 16 Feb 2021 22:35:08 +0100 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Horatiu Vultur , "David S. Miller" Subject: Re: [PATCH 5.10 098/104] switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT Message-ID: <20210216213508.GA32671@amd> References: <20210215152719.459796636@linuxfoundation.org> <20210215152722.633343806@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <20210215152722.633343806@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Horatiu Vultur >=20 > commit 059d2a1004981dce19f0127dabc1b4ec927d202a upstream. >=20 > Now that MRP started to use also SWITCHDEV_ATTR_ID_PORT_STP_STATE to > notify HW, then SWITCHDEV_ATTR_ID_MRP_PORT_STAT is not used anywhere > else, therefore we can remove it. Are you sure this is suitable for 5.10 backport? Unlike mainline, net/bridge use is not removed, so this will cause compile problem...? pavel@amd:~/cip/krc$ grep -ri SWITCHDEV_ATTR_ID_MRP_PORT_STATE . =2E/include/net/switchdev.h: SWITCHDEV_ATTR_ID_MRP_PORT_STATE, =2E/net/bridge/br_mrp_switchdev.c: .id =3D SWITCHDEV_ATTR_ID_MRP_PORT_STAT= E, pavel@amd:~/cip/krc$ e ./net/bridge/br_mrp_switchdev.c Best regards, Pavel > --- a/include/net/switchdev.h > +++ b/include/net/switchdev.h > @@ -41,7 +41,6 @@ enum switchdev_attr_id { > SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED, > SWITCHDEV_ATTR_ID_BRIDGE_MROUTER, > #if IS_ENABLED(CONFIG_BRIDGE_MRP) > - SWITCHDEV_ATTR_ID_MRP_PORT_STATE, > SWITCHDEV_ATTR_ID_MRP_PORT_ROLE, > #endif > }; --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmAsOowACgkQMOfwapXb+vKVJQCcDIcS2WwINzf5ghcr5730FQh0 LIUAnRcLy99KXw1KpKNj4itKHCP2Wju/ =Z9wu -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--