diff options
author | adam radford <aradford@gmail.com> | 2011-02-24 20:57:00 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-28 12:00:35 -0600 |
commit | f86c5424b02717a9eb9b1049a67ff3e7e9e92edf (patch) | |
tree | c52b155a90d70d289c19d8fe7fffbf8bbf39b7c1 | |
parent | 4c598b23807a3bf0e4f7e65f7934965acc47e1b9 (diff) | |
download | op-kernel-dev-f86c5424b02717a9eb9b1049a67ff3e7e9e92edf.zip op-kernel-dev-f86c5424b02717a9eb9b1049a67ff3e7e9e92edf.tar.gz |
[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>
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_base.c | 2 |
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 1789a1c..22ec9f0 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 */ |