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: <CAJZ5v0gQS6O0Gj3vd-xdqEV+vpbCVg1Mdq8r-W0ZXpsKHyyRFA@mail.gmail.com>
Date:   Mon, 5 Jun 2023 19:14:29 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Miaohe Lin <linmiaohe@...wei.com>
Cc:     rafael@...nel.org, bp@...e.de, lenb@...nel.org,
        james.morse@....com, tony.luck@...el.com, bp@...en8.de,
        linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] apei/ghes: remove unused ghes_estatus_pool_size_request

On Sat, May 27, 2023 at 4:00 AM Miaohe Lin <linmiaohe@...wei.com> wrote:
>
> ghes_estatus_pool_size_request is unused now. Remove it.
>
> Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>

Applied as 6.5 material, thanks!

> ---
>  drivers/acpi/apei/ghes.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> index 34ad071a64e9..a4148a7d3afe 100644
> --- a/drivers/acpi/apei/ghes.c
> +++ b/drivers/acpi/apei/ghes.c
> @@ -152,7 +152,6 @@ struct ghes_vendor_record_entry {
>  };
>
>  static struct gen_pool *ghes_estatus_pool;
> -static unsigned long ghes_estatus_pool_size_request;
>
>  static struct ghes_estatus_cache __rcu *ghes_estatus_caches[GHES_ESTATUS_CACHES_SIZE];
>  static atomic_t ghes_estatus_cache_alloced;
> @@ -191,7 +190,6 @@ int ghes_estatus_pool_init(unsigned int num_ghes)
>         len = GHES_ESTATUS_CACHE_AVG_SIZE * GHES_ESTATUS_CACHE_ALLOCED_MAX;
>         len += (num_ghes * GHES_ESOURCE_PREALLOC_MAX_SIZE);
>
> -       ghes_estatus_pool_size_request = PAGE_ALIGN(len);
>         addr = (unsigned long)vmalloc(PAGE_ALIGN(len));
>         if (!addr)
>                 goto err_pool_alloc;
> --
> 2.27.0
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ