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: <CAJZ5v0jTo+bX7K2L=3cnVsd_R1e2h7H5w6LXGuA3d_WQc1K0AA@mail.gmail.com>
Date:   Mon, 12 Jun 2023 19:24:14 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Miaohe Lin <linmiaohe@...wei.com>
Cc:     rafael@...nel.org, lenb@...nel.org, james.morse@....com,
        tony.luck@...el.com, bp@...en8.de, ardb@...nel.org,
        linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI: APEI: mark bert_disable as __initdata

On Tue, Jun 6, 2023 at 2:28 PM Miaohe Lin <linmiaohe@...wei.com> wrote:
>
> It's only used inside __init section. Mark it __initdata.
>
> Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
> ---
>  drivers/acpi/apei/bert.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/apei/bert.c b/drivers/acpi/apei/bert.c
> index 7514e38d5640..5427e49e646b 100644
> --- a/drivers/acpi/apei/bert.c
> +++ b/drivers/acpi/apei/bert.c
> @@ -34,7 +34,7 @@
>  #define ACPI_BERT_PRINT_MAX_RECORDS 5
>  #define ACPI_BERT_PRINT_MAX_LEN 1024
>
> -static int bert_disable;
> +static int bert_disable __initdata;
>
>  /*
>   * Print "all" the error records in the BERT table, but avoid huge spam to
> --

Applied as 6.5 material, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ