From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A569C4338F for ; Fri, 23 Jul 2021 12:33:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3745560E95 for ; Fri, 23 Jul 2021 12:33:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234918AbhGWLwu (ORCPT ); Fri, 23 Jul 2021 07:52:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234774AbhGWLwK (ORCPT ); Fri, 23 Jul 2021 07:52:10 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 609FFC061575; Fri, 23 Jul 2021 05:32:43 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id v21so3525708ejg.1; Fri, 23 Jul 2021 05:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=4eXnfuScHfsV7rofEB9joSoTQrqRx34K2n6dw7298vg=; b=e5jn4llumeWQi+0sxNQhQMPzQookjYlzUdSMY23eLBbxPtVxanyaetk2ULm/lEgneI WfQexS9Hm0CeuApBRKuwwhRoTAsiFoGgsyPQqsJhVeZPmdlt4jZjcJPxfXAGZLuR+qNu 5u8fJ+10Gw5SNaI3yK1Pw2FU1sHwf3RIOm5Yvb4/7/xNAmf04NYxRVcvAg2vrMovCufx TlWjUA//v7F+OCWreXPXX9b8q1+taJDih5/NV2uztSq49zcIf/FCtRiYqTt3GtBVDpmn ZWYKz+BQHeTpQ8kwt344ksbaHuLlacFg+g/FgSBcADwcHON4eS5h3u95RZ5OL/KX3OYi 3ZOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4eXnfuScHfsV7rofEB9joSoTQrqRx34K2n6dw7298vg=; b=Ju3JLOUOfG3XrjAuPYhqZSM7QBFPhfOFOxmW7m2gLLARNGdce5c/ksHekEpJOM8jNb QkjemvBaOOaJAjjH19LDwFbwJLiA1nze7rTLjOtEPWsbcXEt/rgK1Vjvox80s9rlNiwM GhgLumPyYcaAP7qX8yYVAI+UdDr8j4SGjL36CJJ4VF71EFhG1NE6wuzcO5RE8VRaAXdk w2Y9nd9sdU0jMVoc/sox4fBkpki3Xz21CNKX1sPM+Q80GFWtCmUKtw5NuaE7dHTX2jQH f5Vezw82GTv5vGbwXCzUF3MfUIf8vZbevdYOp+IpT2XBa1vfrTKCRMJLeTABmzXYGlpJ baTA== X-Gm-Message-State: AOAM530mJKNHImPk14TnvWNnl1gym74fJDvEpM+YQqUQXwNhvIf9EsRK jmqwkcRcZaAivGvMC0Gq4sY= X-Google-Smtp-Source: ABdhPJyWPoe5TH3pAz1ZGvHvUd02BxjjuD1Z/PSIA7ldLGL6crGhQ5jNGVrXCWM3gKqKRq1TcbPDZg== X-Received: by 2002:a17:906:58c9:: with SMTP id e9mr4473180ejs.144.1627043561442; Fri, 23 Jul 2021 05:32:41 -0700 (PDT) Received: from skbuf ([82.76.66.29]) by smtp.gmail.com with ESMTPSA id dg20sm51967edb.13.2021.07.23.05.32.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 05:32:40 -0700 (PDT) Date: Fri, 23 Jul 2021 15:32:39 +0300 From: Vladimir Oltean To: Colin King Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S . Miller" , Jakub Kicinski , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] net: dsa: sja1105: remove redundant re-assignment of pointer table Message-ID: <20210723123239.y2b3g3gea2ku2euq@skbuf> References: <20210722191529.11013-1-colin.king@canonical.com> <20210722200544.qvl3sj57qph2whrw@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210722200544.qvl3sj57qph2whrw@skbuf> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Jul 22, 2021 at 11:05:44PM +0300, Vladimir Oltean wrote: > Could you please also send a patch for the "net" tree with this, and the > explanation above? > > - table = &priv->static_config.tables[BLK_IDX_VLAN_LOOKUP]; > + table = &priv->static_config.tables[BLK_IDX_RETAGGING]; I think it's best for me to just send that patch. I will send it towards the "stable" trees directly, to avoid all sorts of conflicts with "net" and "net-next" (as mentioned, the VLAN retagging code is going away). For this patch towards net-next: Reviewed-by: Vladimir Oltean