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: <CAJZ5v0i6F5XMSfSoP6_meZhvh1JeNTx8CO+mukf7qPRxx2DeqA@mail.gmail.com>
Date:   Fri, 30 Dec 2022 18:57:30 +0100
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Zhou jie <zhoujie@...china.com>
Cc:     rafael@...nel.org, lenb@...nel.org, linux-acpi@...r.kernel.org,
        linux-kernel@...r.kernel.org, kernel.nfschina.com@...ts.nfsmail.com
Subject: Re: [PATCH] drivers/acpi:remove unnecessary (void*) conversions

On Fri, Dec 23, 2022 at 10:02 AM Zhou jie <zhoujie@...china.com> wrote:
>
> The void * type pointer does not need to be cast.
>
> Signed-off-by: Zhou jie <zhoujie@...china.com>
> ---
>  drivers/acpi/processor_idle.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
> index 4556c86c3465..3be86d2f9098 100644
> --- a/drivers/acpi/processor_idle.c
> +++ b/drivers/acpi/processor_idle.c
> @@ -150,7 +150,7 @@ static void lapic_timer_check_state(int state, struct acpi_processor *pr,
>
>  static void __lapic_timer_propagate_broadcast(void *arg)
>  {
> -       struct acpi_processor *pr = (struct acpi_processor *) arg;
> +       struct acpi_processor *pr = arg;
>
>         if (pr->power.timer_broadcast_on_state < INT_MAX)
>                 tick_broadcast_enable();
> --

Applied as 6.3 material with some edits in the subject and changelog, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ