Commit 49971e6b authored by Olaf Hering's avatar Olaf Hering Committed by Wei Liu
Browse files

drivers: hv: remove cast from hyperv_die_event



No need to cast a void pointer.

Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
Link: https://lore.kernel.org/r/20200819090510.28995-1-olaf@aepfle.de


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent 9123e3a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */