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

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.deSigned-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent 9123e3a7
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment