summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-02-25 07:57:00 +0300
committerJames Bottomley <James.Bottomley@suse.de>2011-02-28 21:00:35 +0300
commitf86c5424b02717a9eb9b1049a67ff3e7e9e92edf (patch)
treec52b155a90d70d289c19d8fe7fffbf8bbf39b7c1 /drivers/scsi/megaraid
parent4c598b23807a3bf0e4f7e65f7934965acc47e1b9 (diff)
downloadlinux-f86c5424b02717a9eb9b1049a67ff3e7e9e92edf.tar.xz
[SCSI] megaraid_sas: Fix tasklet_init call
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>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 1789a1c13085..22ec9f049181 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -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 */