Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1089078lqa; Sun, 28 Apr 2024 18:50:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxM9nOVo80AbHM3DmLMMbLod3RPoJoeJUMlL9MWRjfsG/+aQZTtKGz2lokkKI0Tae544ybCPFybTojEZe663kPfxs/BUOGypQtX8oAxA== X-Google-Smtp-Source: AGHT+IHOTiuwGYkfvF3jexUbf4Qpd3lBf9hav4+0RiyZzg/ygkdmbgkC7M4x+v3C9Pu5QzudoBgJ X-Received: by 2002:a37:ef09:0:b0:790:f472:4dbc with SMTP id j9-20020a37ef09000000b00790f4724dbcmr1951100qkk.75.1714355408059; Sun, 28 Apr 2024 18:50:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714355408; cv=pass; d=google.com; s=arc-20160816; b=zb7j3COTbHHgkxllES3CJcZU3Lebpx0WZmgRbu5t7s4SsXgw4mXzMSy9wez/BKcygE ebyBEVpvJuuMxfYw6zeB3eNPzH31r4UpI8cu7f+EbDPNzZrQRzo4E0N4MaljOdgzHjRW E1lhObd7Cn7OuAEN+ssTLiLp+75C5ZrX6MKc8IUBI6aL1kfSupAqmZ1bWjmmamjj1mTn WU70fzbq+csRXpRdzXJXxeclfyT+d9Fld+QLT24KpOchHc7gCDpxX8ciBYTOrhTpHpJw pskxiGrLXb1j+Wj1/EkT4XEuncmDxXnGbsxptLa6CIeE6k0AJT95LCEnKUTbm0iT7R+x mlkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:in-reply-to:subject:cc:to:from; bh=OMC2dpz9dsnIRhBuPLLiCD7WEhD2hlDnS9K3XzxEdSI=; fh=oNA8utts2zA95PozDhzxHh4gCIemsJHOZJfBJLOvHN4=; b=QTAVdO//BHiVJQ8ZD0oFrKGGEK1KjqHtuM1pscP7bAE7QZ18MOt+pTOh8WbyJ5fm2l O53dPLJUD7yV6cRUFbmf30ltbmh/Q6S6YFWHOPggaJvmNBFEqfqEE7fs3uXDlKIdxe9D ElCc659+IzbPz/hrrLhtQjTVWoOPoM7HJQOp3orok0kssvZ8rX9EDHSvR3sPea192gXU w5gyghwiovNnR2LTyq8enLGW5IjfuT/tD0quCaKzyhBx3gW8dLQgRMROfhqdCk//QiT1 jPCdp/muo8oW8V2/QFP2RWWO+PRkrk7AXAyWbaKpjQ6bKAwDdE8r8XFR1awHlciY8ECn wSJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-6954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6954-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w15-20020a05620a444f00b00790fb9d6313si301991qkp.554.2024.04.28.18.50.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 18:50:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-6954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6954-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C1FA21C21395 for ; Mon, 29 Apr 2024 01:50:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C38CE624; Mon, 29 Apr 2024 01:50:03 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B22087F; Mon, 29 Apr 2024 01:50:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714355403; cv=none; b=n+a2Jeo1Zp3efjRRQjiI5FYvxiYFaKrJieT76xwYaL56lTIA7WAdzlaRPHGQsjvUKY6xVNM/XqR0KhN83WOJX8Pu04Rd90cKQZz88/R/9zJP0tBa4lccf1Dl8h0vvrYBFTXrcVU2llxvIC3CNLxwtmbKKdTmqSNfIaGy6onoBYY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714355403; c=relaxed/simple; bh=ZF3OHqE3LGxORDciO6t7lywG5M3bqqkfQNxmWq+mvvE=; h=From:To:CC:Subject:In-Reply-To:References:MIME-Version: Content-Type:Message-ID:Date; b=N23Fv1mqaY5Vh6+MEkJkjHwWDQuzkiLgwjhlGqs7RVC/cHuaBVUBUXzLoifAK7GffCdLwZ9gvg+ezOSLf4wAOWmm1w0oDDGL44iQdr16laqWeRKVsfZZofQehEHnnP4UW49zKCf8mO6Pq0a+YwrTgPJxdPwILvy78zyp3LyWp58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 43T1npkY72921824, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 43T1npkY72921824 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Apr 2024 09:49:51 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 29 Apr 2024 09:49:51 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 29 Apr 2024 09:49:50 +0800 From: Ping-Ke Shih To: Colin Ian King , Ping-Ke Shih , Kalle Valo , Su Hui , CC: , Subject: Re: [PATCH][next] wifi: rtlwifi: rtl8723be: Make read-only arrays static const In-Reply-To: <20240425155733.114423-1-colin.i.king@gmail.com> References: <20240425155733.114423-1-colin.i.king@gmail.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Message-ID: <6931b0a7-901f-4a70-9c9b-0bc7871200f9@RTEXMBS04.realtek.com.tw> Date: Mon, 29 Apr 2024 09:49:50 +0800 X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) Colin Ian King wrote: > Don't populate the read-only arrays cck_rates, ofdm_rates, ht_rates_1t and > channel_all on the stack at run time, instead make them static const and > clean up the formatting. > > Signed-off-by: Colin Ian King > Acked-by: Ping-Ke Shih 1 patch(es) applied to rtw-next branch of rtw.git, thanks. ed403e86c826 wifi: rtlwifi: rtl8723be: Make read-only arrays static const --- https://github.com/pkshih/rtw.git