projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9123e3a
)
drivers: hv: remove cast from hyperv_die_event
author
Olaf Hering
<olaf@aepfle.de>
Wed, 19 Aug 2020 09:05:09 +0000
(11:05 +0200)
committer
Wei Liu
<wei.liu@kernel.org>
Wed, 19 Aug 2020 11:28:54 +0000
(11:28 +0000)
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>
drivers/hv/vmbus_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hv/vmbus_drv.c
b/drivers/hv/vmbus_drv.c
index 910b6e90866cae242f5c26037341e91732a5fb6c..187809977360531834bf0b4cdd65155c238ae4fb 100644
(file)
--- 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 */