[patch 3/5] hv: pass integer to tasklet_init()

From: Olaf Hering
Date: Sat Apr 16 2011 - 12:51:27 EST


tasklet_init() takes an integer, so use one right away.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

---
compile tested

drivers/staging/hv/vmbus_drv.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

Index: linux-next/drivers/staging/hv/vmbus_drv.c
===================================================================
--- linux-next.orig/drivers/staging/hv/vmbus_drv.c
+++ linux-next/drivers/staging/hv/vmbus_drv.c
@@ -578,10 +578,8 @@ static int vmbus_bus_init(struct pci_dev
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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/