projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'regulator/fix/dbx500' into regulator-linus
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hv
/
hv.c
diff --git
a/drivers/hv/hv.c
b/drivers/hv/hv.c
index 731158910c1e25db19cee5eb4ab13e9f6f4d610d..ae4923756d98788490166af3393fecba5a84b6a0 100644
(file)
--- a/
drivers/hv/hv.c
+++ b/
drivers/hv/hv.c
@@
-289,9
+289,8
@@
void hv_synic_init(void *arg)
/* Check the version */
rdmsrl(HV_X64_MSR_SVERSION, version);
/* Check the version */
rdmsrl(HV_X64_MSR_SVERSION, version);
- hv_context.event_dpc[cpu] = (struct tasklet_struct *)
- kmalloc(sizeof(struct tasklet_struct),
- GFP_ATOMIC);
+ hv_context.event_dpc[cpu] = kmalloc(sizeof(struct tasklet_struct),
+ GFP_ATOMIC);
if (hv_context.event_dpc[cpu] == NULL) {
pr_err("Unable to allocate event dpc\n");
goto cleanup;
if (hv_context.event_dpc[cpu] == NULL) {
pr_err("Unable to allocate event dpc\n");
goto cleanup;