Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1469272rdb; Wed, 20 Sep 2023 09:55:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9/WsmpAOnojOym/GdebohJExl+S54/lWAtTydV8MHqriUbJF5HYhmiz+VLMBXCDb86w+O X-Received: by 2002:a05:6358:7250:b0:134:c37f:4b5c with SMTP id i16-20020a056358725000b00134c37f4b5cmr4160905rwa.22.1695228923473; Wed, 20 Sep 2023 09:55:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695228923; cv=none; d=google.com; s=arc-20160816; b=jfQssU3spwdLsUa+c3DhQ7GkEiUazHd+pvTwQ8+YDpRgYg6grf8TbhsWEpYrnQa20L flvy6qHtDXc7ikTVW1yZiXyudHHo1Ema6+Qd2nbNcu7VFr6zG2NsLjJ8dcl/oo5DbuMt /cGmnEjMkoG7DsrSfl9q05TbE2VR/WHllo7dzhwnTx3zz6HwuAd2V3KWa2MTSKuTu4LG MNvMO5azCy9GQtHAuxw65vf87M9wRvIY3+Pq9DXgeM+BoB2GdZY+joJY4pXu+uG2PE0E ql77urHF6xSzt3zzn/nWD6e/QZ6udjix7Ye45dUjWpiL4syG30TfmJ5KzgewFMHTM94V qLQw== 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=vS/Cs2PLMP0wrXesDar8P/cFTTk09RoR8vpOfuuFr04=; fh=m9KgkC3jBRliUGj7MJQlfYbRdgJSryRyc8jX+Q2FgE8=; b=Smc4UtAmllFwRI/Bb9EGBidFN11MgqmYfJghobwED6xeeBYPfcsBJh2AGru3Xie/PT 57qOZJAON41mSlsGll8+yAbYy3nhbEOECHvRT8lCbyYhxh+pDDju0NBeFvEVfzOBqCGX BOWVeXPf9+iMmFqp+54tIdk+eW4VuqOHByZtWPwRoYUMfyvPB8RYx3pVQdhPgNmeUMbt etv0Sv8YKfGKSi7yq3H1lLPrW7fDXaKwSrMXABjDvjHzLQt9Nvs58bZpEoCxKHDoQ0+R G6oJWyHBf5ud8+wiMAxMOzi4MX8MAAL+wJum0D/MGqhACQshIZAYz//QLCaWVSRi/Mf3 /2kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FXd2I3Xy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id j2-20020a63e742000000b00577549e67b9si3716464pgk.589.2023.09.20.09.55.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 09:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FXd2I3Xy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id F14D98283A15; Wed, 20 Sep 2023 04:08:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234487AbjITLH6 (ORCPT + 99 others); Wed, 20 Sep 2023 07:07:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234476AbjITLHy (ORCPT ); Wed, 20 Sep 2023 07:07:54 -0400 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 C27B2F3; Wed, 20 Sep 2023 04:07:46 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-52bd9ddb741so8466799a12.0; Wed, 20 Sep 2023 04:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695208065; x=1695812865; darn=vger.kernel.org; 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=vS/Cs2PLMP0wrXesDar8P/cFTTk09RoR8vpOfuuFr04=; b=FXd2I3XyuHZDW6sMuOLbD9oBI6GbFcL07yr+qtB7jwgqvPaOQy9g/DBw8sxq6OpZOe XyGCF9GhpjdPlNJUuZMg4KOnHgGEc9NY2+YbXpMZt540ocAogHp0LDTwGli3HnOdAABI wAvNRXDSINNzrzZuuiUXVxF0PuF/pENTzexppxjoEvx1P7ql1C4YpJKLRIfP0fYXOt7M nC5MP3nbwR4MQ6kvKezFLX3Q7MhwHdzq3qauSFnm+ABMl8SsaRwuUSo/bm6jOERWH8jy 2k5eUOmMoxVqSSWINbjZOy0+vgNESy9srBjkQtF/h5rr1W06TjFDSfP+QFs+WNc6vd3L e0qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695208065; x=1695812865; 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=vS/Cs2PLMP0wrXesDar8P/cFTTk09RoR8vpOfuuFr04=; b=Ey85zOk9wjcoRLx2jJkLhBZxkytR7etY1z26YXSPVEuxkRl0SB+jdza0syabJ5Jnnf qq/EgtCKgn/+ps/0bSmF7YBy3jI7LbSTT8J8LY0NTTLibLgsRY4Pvd3M6EXPnHowB4dE WrDBd7RsiGs9KSMTH6DqgfJTGzdciY812beya7dwehUPW4Av2iDTy8qWYl1B+19S1KGT 1rWbmeV86vQvujJKiRWnk5StpXL/mQjle9Pt4dcCPjcFDvuHaw9E50VllTF93PfKFhIu A27ubvqwRfME8ZWBAMOfTCNYaomVIGMA3yTNHez7NcW5h+DGlNGc0LRPzdTQM8XHvF4E iKyg== X-Gm-Message-State: AOJu0YzRICb6kIBU4rjmJi46owZmWeRhSUP9ZzC9/B2ERnMSpWX2saLK tVxJYnr7WPd/5MBADkoA3uE= X-Received: by 2002:aa7:d518:0:b0:530:52d2:f656 with SMTP id y24-20020aa7d518000000b0053052d2f656mr1749171edq.21.1695208064972; Wed, 20 Sep 2023 04:07:44 -0700 (PDT) Received: from skbuf ([188.26.57.160]) by smtp.gmail.com with ESMTPSA id es19-20020a056402381300b0051e1660a34esm7605111edb.51.2023.09.20.04.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 04:07:44 -0700 (PDT) Date: Wed, 20 Sep 2023 14:07:42 +0300 From: Vladimir Oltean To: Colin Ian King Cc: Andrew Lunn , Florian Fainelli , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH][next] net: dsa: sja1105: make read-only const arrays static Message-ID: <20230920110742.aykludzienjg5fn6@skbuf> References: <20230919093606.24446-1-colin.i.king@gmail.com> <20230919093606.24446-1-colin.i.king@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230919093606.24446-1-colin.i.king@gmail.com> <20230919093606.24446-1-colin.i.king@gmail.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 20 Sep 2023 04:08:15 -0700 (PDT) On Tue, Sep 19, 2023 at 10:36:06AM +0100, Colin Ian King wrote: > Don't populate read-only const arrays on the stack, instead make them > static. > > Signed-off-by: Colin Ian King > --- Reviewed-by: Vladimir Oltean