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: <20200819113016.6uz7onkfybylaxcx@liuwe-devbox-debian-v2>
Date:   Wed, 19 Aug 2020 11:30:16 +0000
From:   Wei Liu <wei.liu@...nel.org>
To:     Olaf Hering <olaf@...fle.de>
Cc:     linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org,
        "K. Y. Srinivasan" <kys@...rosoft.com>,
        Haiyang Zhang <haiyangz@...rosoft.com>,
        Stephen Hemminger <sthemmin@...rosoft.com>,
        Wei Liu <wei.liu@...nel.org>
Subject: Re: [PATCH v1] tools: hv: remove cast from hyperv_die_event

On Wed, Aug 19, 2020 at 11:05:09AM +0200, Olaf Hering wrote:
> No need to cast a void pointer.
> 
> Signed-off-by: Olaf Hering <olaf@...fle.de>

Applied to hyperv-next.

I also changed "tools" to "drivers".

> ---
>  drivers/hv/vmbus_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
> index 910b6e90866c..187809977360 100644
> --- a/drivers/hv/vmbus_drv.c
> +++ b/drivers/hv/vmbus_drv.c
> @@ -83,7 +83,7 @@ static int hyperv_panic_event(struct notifier_block *nb, unsigned long val,
>  static int hyperv_die_event(struct notifier_block *nb, unsigned long val,
>  			    void *args)
>  {
> -	struct die_args *die = (struct die_args *)args;
> +	struct die_args *die = args;
>  	struct pt_regs *regs = die->regs;
>  
>  	/* Don't notify Hyper-V if the die event is other than oops */

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ