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] [thread-next>] [day] [month] [year] [list]
Message-ID: <2ce149d33f2e22b86d1bb1c6e114835a5e00b5d5.camel@pengutronix.de>
Date:   Tue, 14 Dec 2021 10:33:14 +0100
From:   Lucas Stach <l.stach@...gutronix.de>
To:     "Peng Fan (OSS)" <peng.fan@....nxp.com>, tglx@...utronix.de,
        maz@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
        kernel@...gutronix.de, festevam@...il.com
Cc:     Peng Fan <peng.fan@....com>, linux-imx@....com,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] irqchip/irq-imx-gpcv2: mark imx_gpcv2_instance with
 __ro_after_init

Am Dienstag, dem 14.12.2021 um 16:47 +0800 schrieb Peng Fan (OSS):
> From: Peng Fan <peng.fan@....com>
> 
> 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>

> ---
>  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 5b5a365dbd5e..b9c22f764b4d 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