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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163966828605.23020.10155713322275168793.tip-bot2@tip-bot2>
Date:   Thu, 16 Dec 2021 15:24:46 -0000
From:   "irqchip-bot for Peng Fan" <tip-bot2@...utronix.de>
To:     linux-kernel@...r.kernel.org
Cc:     Peng Fan <peng.fan@....com>, Lucas Stach <l.stach@...gutronix.de>,
        Marc Zyngier <maz@...nel.org>, tglx@...utronix.de
Subject: [irqchip: irq/irqchip-next] irqchip/imx-gpcv2: Mark
 imx_gpcv2_instance with __ro_after_init

The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID:     29e525cc825e33ea0da2ac0fbf951e418fc28c69
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/29e525cc825e33ea0da2ac0fbf951e418fc28c69
Author:        Peng Fan <peng.fan@....com>
AuthorDate:    Tue, 14 Dec 2021 16:47:11 +08:00
Committer:     Marc Zyngier <maz@...nel.org>
CommitterDate: Thu, 16 Dec 2021 15:19:43 

irqchip/imx-gpcv2: Mark imx_gpcv2_instance with __ro_after_init

imx_gpcv2_instance will not be updated after init, so mark it with
__ro_after_init.

Signed-off-by: Peng Fan <peng.fan@....com>
Reviewed-by: Lucas Stach <l.stach@...gutronix.de>
Signed-off-by: Marc Zyngier <maz@...nel.org>
Link: https://lore.kernel.org/r/20211214084711.1357325-1-peng.fan@oss.nxp.com
---
 drivers/irqchip/irq-imx-gpcv2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c
index 5b5a365..b9c22f7 100644
--- a/drivers/irqchip/irq-imx-gpcv2.c
+++ b/drivers/irqchip/irq-imx-gpcv2.c
@@ -26,7 +26,7 @@ struct gpcv2_irqchip_data {
 	u32			cpu2wakeup;
 };
 
-static struct gpcv2_irqchip_data *imx_gpcv2_instance;
+static struct gpcv2_irqchip_data *imx_gpcv2_instance __ro_after_init;
 
 static void __iomem *gpcv2_idx_to_reg(struct gpcv2_irqchip_data *cd, int i)
 {

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ