Skip to content

Commit

Permalink
drivers: hv: remove cast from hyperv_die_event
Browse files Browse the repository at this point in the history
No need to cast a void pointer.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Link: https://lore.kernel.org/r/20200819090510.28995-1-olaf@aepfle.de
Signed-off-by: Wei Liu <wei.liu@kernel.org>
  • Loading branch information
Olaf Hering authored and Wei Liu committed Aug 19, 2020
1 parent 9123e3a commit 49971e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 49971e6

Please sign in to comment.