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
| ||
|
Message-ID: <166946967479.4906.12648220580394295984.tip-bot2@tip-bot2> Date: Sat, 26 Nov 2022 13:34:34 -0000 From: "irqchip-bot for Konrad Dybcio" <tip-bot2@...utronix.de> To: linux-kernel@...r.kernel.org Cc: Konrad Dybcio <konrad.dybcio@...ainline.org>, Marc Zyngier <maz@...nel.org>, Eric Curtin <ecurtin@...hat.com>, tglx@...utronix.de Subject: [irqchip: irq/irqchip-next] irqchip/apple-aic: Mark aic_info structs __initconst The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: d46b99656a16c450681985661a249dbb18e55cc4 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/d46b99656a16c450681985661a249dbb18e55cc4 Author: Konrad Dybcio <konrad.dybcio@...ainline.org> AuthorDate: Sat, 22 Oct 2022 01:55:23 +02:00 Committer: Marc Zyngier <maz@...nel.org> CommitterDate: Sat, 26 Nov 2022 13:29:42 irqchip/apple-aic: Mark aic_info structs __initconst These structs hold information used only at init time that never gets modified, hence mark them __initconst. Signed-off-by: Konrad Dybcio <konrad.dybcio@...ainline.org> Suggested-by: Marc Zyngier <maz@...nel.org> Reviewed-by: Eric Curtin <ecurtin@...hat.com> Signed-off-by: Marc Zyngier <maz@...nel.org> Link: https://lore.kernel.org/r/20221021235523.76585-1-konrad.dybcio@somainline.org --- drivers/irqchip/irq-apple-aic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-apple-aic.c b/drivers/irqchip/irq-apple-aic.c index 1c2813a..ae3437f 100644 --- a/drivers/irqchip/irq-apple-aic.c +++ b/drivers/irqchip/irq-apple-aic.c @@ -248,14 +248,14 @@ struct aic_info { bool fast_ipi; }; -static const struct aic_info aic1_info = { +static const struct aic_info aic1_info __initconst = { .version = 1, .event = AIC_EVENT, .target_cpu = AIC_TARGET_CPU, }; -static const struct aic_info aic1_fipi_info = { +static const struct aic_info aic1_fipi_info __initconst = { .version = 1, .event = AIC_EVENT, @@ -264,7 +264,7 @@ static const struct aic_info aic1_fipi_info = { .fast_ipi = true, }; -static const struct aic_info aic2_info = { +static const struct aic_info aic2_info __initconst = { .version = 2, .irq_cfg = AIC2_IRQ_CFG,
Powered by blists - more mailing lists