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: <CAJZ5v0ghCMtU1qtLCO6PcVa6qfXk_tStzXh5h=Hki_6RaMSr=g@mail.gmail.com>
Date:   Fri, 30 Dec 2022 19:19:59 +0100
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Dong Chuanjian <chuanjian@...china.com>
Cc:     robert.moore@...el.com, rafael.j.wysocki@...el.com,
        lenb@...nel.org, linux-acpi@...r.kernel.org, devel@...ica.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/acpi/acpica/evmisc.c : eliminate unnecessary type conversions

On Mon, Dec 26, 2022 at 4:06 AM Dong Chuanjian <chuanjian@...china.com> wrote:
>
> remove unnecessary void* type casting.
>
> Signed-off-by: Dong Chuanjian <chuanjian@...china.com>
>
> diff --git a/drivers/acpi/acpica/evmisc.c b/drivers/acpi/acpica/evmisc.c
> index 6172cddc1b39..94d83e7dc90f 100644
> --- a/drivers/acpi/acpica/evmisc.c
> +++ b/drivers/acpi/acpica/evmisc.c
> @@ -160,7 +160,7 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node *node, u32 notify_value)
>
>  static void ACPI_SYSTEM_XFACE acpi_ev_notify_dispatch(void *context)
>  {
> -       union acpi_generic_state *info = (union acpi_generic_state *)context;
> +       union acpi_generic_state *info = context;
>         union acpi_operand_object *handler_obj;
>
>         ACPI_FUNCTION_ENTRY();
> --

ACPICA changes require (at least) a pull request to be submitted to
the upstream ACPICA project on GitHub.

If such a pull request is created, please resend the Linux patch with
a Link tag pointing to that pull request.

Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ