[SCSI] megaraid_sas: Fix tasklet_init call
authoradam radford <aradford@gmail.com>
Fri, 25 Feb 2011 04:57:00 +0000 (20:57 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 28 Feb 2011 18:00:35 +0000 (12:00 -0600)
The following patch fixes an incorrect tasklet_init() call in
megasas_init_fw() to use instancet->tasklet.

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas_base.c

index 1789a1c..22ec9f0 100644 (file)
@@ -3544,7 +3544,7 @@ static int megasas_init_fw(struct megasas_instance *instance)
        * Setup tasklet for cmd completion
        */
 
-       tasklet_init(&instance->isr_tasklet, megasas_complete_cmd_dpc,
+       tasklet_init(&instance->isr_tasklet, instance->instancet->tasklet,
                (unsigned long)instance);
 
        /* Initialize the cmd completion timer */