From 8fea1912cef357a154a529f3c358fb5229c5003d Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sat, 16 Apr 2011 18:50:41 +0200 Subject: [PATCH] hv: pass integer to tasklet_init() tasklet_init() takes an integer, so use one right away. Signed-off-by: Olaf Hering Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/vmbus_drv.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index c944450c6f09..8516f4377cfa 100644 --- a/drivers/staging/hv/vmbus_drv.c +++ b/drivers/staging/hv/vmbus_drv.c @@ -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); -- 2.39.5