lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171533945522.10875.14417926141466251581.tip-bot2@tip-bot2>
Date: Fri, 10 May 2024 11:10:55 -0000
From: "tip-bot2 for Stephen Boyd" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: dann frazier <dann.frazier@...onical.com>,
 Hanjun Guo <hanjun.guo@...aro.org>, Marc Zyngier <maz@...nel.org>,
 Mark Rutland <mark.rutland@....com>, Stephen Boyd <swboyd@...omium.org>,
 Hanjun Guo <guohanjun@...wei.com>, Daniel Lezcano <daniel.lezcano@...aro.org>,
 x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: timers/core] clocksource/drivers/arm_arch_timer: Mark
 hisi_161010101_oem_info const

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     2030a7e11f161b4067bd4eadd984cdb36446fcca
Gitweb:        https://git.kernel.org/tip/2030a7e11f161b4067bd4eadd984cdb36446fcca
Author:        Stephen Boyd <swboyd@...omium.org>
AuthorDate:    Thu, 02 May 2024 16:34:46 -07:00
Committer:     Daniel Lezcano <daniel.lezcano@...aro.org>
CommitterDate: Fri, 10 May 2024 10:43:21 +02:00

clocksource/drivers/arm_arch_timer: Mark hisi_161010101_oem_info const

This isn't modified at runtime. Mark it const so it can move to
read-only data.

Cc: dann frazier <dann.frazier@...onical.com>
Cc: Hanjun Guo <hanjun.guo@...aro.org>
Cc: Marc Zyngier <maz@...nel.org>
Cc: Mark Rutland <mark.rutland@....com>
Signed-off-by: Stephen Boyd <swboyd@...omium.org>
Reviewed-by: Hanjun Guo <guohanjun@...wei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Link: https://lore.kernel.org/r/20240502233447.420888-1-swboyd@chromium.org
---
 drivers/clocksource/arm_arch_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 8d4a520..5bb43cc 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -331,7 +331,7 @@ static u64 notrace hisi_161010101_read_cntvct_el0(void)
 	return __hisi_161010101_read_reg(cntvct_el0);
 }
 
-static struct ate_acpi_oem_info hisi_161010101_oem_info[] = {
+static const struct ate_acpi_oem_info hisi_161010101_oem_info[] = {
 	/*
 	 * Note that trailing spaces are required to properly match
 	 * the OEM table information.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ