Commit 8fea1912 authored by Olaf Hering's avatar Olaf Hering Committed by Greg Kroah-Hartman

hv: pass integer to tasklet_init()

tasklet_init() takes an integer, so use one right away.
Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 35436487
......@@ -578,10 +578,8 @@ static int vmbus_bus_init(struct pci_dev *pdev)
hv_bus.bus.name = driver_name;
/* Initialize the bus context */
tasklet_init(&hv_bus.msg_dpc, vmbus_on_msg_dpc,
(unsigned long)NULL);
tasklet_init(&hv_bus.event_dpc, vmbus_on_event,
(unsigned long)NULL);
tasklet_init(&hv_bus.msg_dpc, vmbus_on_msg_dpc, 0);
tasklet_init(&hv_bus.event_dpc, vmbus_on_event, 0);
/* Now, register the bus with LDM */
ret = bus_register(&hv_bus.bus);
......
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