diff options
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
| -rw-r--r-- | drivers/scsi/libsas/sas_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c index 64e9cdda1c3c..681fcb837354 100644 --- a/drivers/scsi/libsas/sas_init.c +++ b/drivers/scsi/libsas/sas_init.c | |||
| @@ -66,7 +66,8 @@ struct sas_task *sas_alloc_slow_task(gfp_t flags) | |||
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | task->slow_task = slow; | 68 | task->slow_task = slow; |
| 69 | init_timer(&slow->timer); | 69 | slow->task = task; |
| 70 | timer_setup(&slow->timer, NULL, 0); | ||
| 70 | init_completion(&slow->completion); | 71 | init_completion(&slow->completion); |
| 71 | 72 | ||
| 72 | return task; | 73 | return task; |
