forked from luck/tmp_suning_uos_patched
drivers: hv: remove cast from hyperv_die_event
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>
This commit is contained in:
parent
9123e3a74e
commit
49971e6bad
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user