Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1762223rdb; Thu, 25 Jan 2024 05:35:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdD86c1yxlGxpmS9HPkPL0USK5TolxJsfN+4cJF7mIWMW8EErD49v0Jrll2Wgnt7pbQhc+ X-Received: by 2002:a05:6402:94b:b0:55c:7c3a:56b8 with SMTP id h11-20020a056402094b00b0055c7c3a56b8mr583445edz.7.1706189757253; Thu, 25 Jan 2024 05:35:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706189757; cv=pass; d=google.com; s=arc-20160816; b=nXtCTKnJAUtsQ+suzFGekQ4jUFZkW1WgpWvpkOlDo/EyEcjrNBw+np5Q5nQf5rKYMW 2xg2KJYToFpTzygHseJnIpNVHtprDjZfzHMtDviWyoBMKgBui1KxU1C5jZnd+Mg4FFnL G1TtF+P6m3OVAFQyuQxi5xj7CkDGyvQ5imceRDZdgGbIIKA78CFTpvx3zNqac66P6OL0 r7MMEz39oPuNIy0OPHy+L9LXm4imLNnXz3SEk12uFFUMCSe1gN/EJOIgaRNoK2nSDJNM MBg7eNf/DXagzq2MI3rk5z80jQ+QwTr7LfXk4sfr+FeZOyBHuM3cbHUrlIvAYbqoqwrz k+Jg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=xleKTZdEaqwfaNABVK0ti7bIBZqXjjiqIJtkqQAy2gg=; fh=TrJc0cTvDoi9dPNWryR/NpCpcFw9shs6cn8Rayd+tW0=; b=dHX0dVdqyc4yXXy9VoYwFV1QSNBXwaOkx+f18Gl1VehQsBJ2bdPfmgP8SvnHrmPfy4 Smb/ck/Ol4LUP/UYXRy9GAJ49n4iBHBrY7B/iraJLPY+vtiAa7ixd9IbFgIAZlWcfjHB 1v8bSqjvJBrt8M5lumQ97n2UWPcx18v3DSg5EVWJw1V0AvoCb3MIpeAJVAsohX7i522f sXmxKDVOlszhH1Qv9tuhvqf/CLbK4VL/Yf3kycoWKEgd+z2g/9JkkG4PsaW3oIc63t5l wxRdAscvdrpsmFl2M0hxtFBMo3hO28VeT/KJtkSbv5A3amX1CYM5BhcjR1i2/QVf5+2Y NWJQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CCbseu+f; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38661-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h1-20020a50cdc1000000b0055ccc54eab4si1564187edj.18.2024.01.25.05.35.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:35:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CCbseu+f; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38661-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0A2E81F26CEE for ; Thu, 25 Jan 2024 13:35:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9ED1855C09; Thu, 25 Jan 2024 13:35:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CCbseu+f" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6B855579A; Thu, 25 Jan 2024 13:35:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706189744; cv=none; b=CMIfXQLLMJflf0W8jjc70Gy/KAcyh0iG9PwiAdvJoKFWsZYUNNOCooc3Eut6VjJ/PM+fuvO4Dm4IDXM5jeyNiqrt9QSx8KkoyzNjHCW3wL7HEczzBS4peFlnNDCImKer4pfFmmuqVSaZ5e2/XaGIXMigoEpS+8rmXv0fIpjhQPk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706189744; c=relaxed/simple; bh=QTIZOrZxp7RFBRPvQefgAY8paDjFrKKof5RvSncdQeM=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=N4yj+gNmugYKCck1iGGne+CQLn4fTjfxmL/OKM1IQQLoZtFIYSj5dgi6duRpOzmIzZqh0/SD/+tOC2VK7expWusbHktF67xDudTWaFH+rGDQ0iSzSP9gW+Hy9RSKkpwjRKMSiZ2A6afRR0MbLPJ9Z7n8IUzHZhYP0ALMSmJSQ9c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CCbseu+f; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7B81C433C7; Thu, 25 Jan 2024 13:35:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706189744; bh=QTIZOrZxp7RFBRPvQefgAY8paDjFrKKof5RvSncdQeM=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=CCbseu+f02HKsAnVshZMrillOF83BZHZW53nihwq/8Z7TWRVLcUEHNXEeCbc5slH3 HspA1cj31rpXXGi7gFY4PcFvbYIRgialXwiJZh7eeb03980/Nxj7xxs10raQmWou+X iIwh+ogpbXyUIlBgTUD3CSEU9RlkmZznx3aLVat7nMi2iEGoseLitQdGdL8oUWsGRf iSu1UEmu+3iEB3rhuUqoPz+VwbZN8pzXoeUDBCizoEnkhWDJlNOm9WRuxqO7FU1kJ6 cugUNVeFArcB+ybIv9lFoBT59jVCSc44Myb9kI7Opibv9eTZqLE5ezN29oOZ9cl2T2 eh9TGB+wfFvUg== From: Lee Jones To: Pavel Machek , Lee Jones , linux-leds@vger.kernel.org, Colin Ian King Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240119232630.2752239-1-colin.i.king@gmail.com> References: <20240119232630.2752239-1-colin.i.king@gmail.com> Subject: Re: (subset) [PATCH][next] leds: aw200xx: make read-only array coeff_table static const Message-Id: <170618974266.1467696.8699931696852228377.b4-ty@kernel.org> Date: Thu, 25 Jan 2024 13:35:42 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.3 On Fri, 19 Jan 2024 23:26:30 +0000, Colin Ian King wrote: > Don't populate the read-only array coeff_table on the stack at > run time, instead make it static const. > > Applied, thanks! [1/1] leds: aw200xx: make read-only array coeff_table static const commit: bcc7f2ee83dc1dace6eeb6b25014f253ca2a2a51 -- Lee Jones [李琼斯]