Commit 3cfe8864 authored by Federico Vaga's avatar Federico Vaga

kernel: add missing spinlock initialization

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 6059557b
...@@ -718,6 +718,8 @@ static int svec_probe(struct device *pdev, unsigned int ndev) ...@@ -718,6 +718,8 @@ static int svec_probe(struct device *pdev, unsigned int ndev)
return -ENOMEM; return -ENOMEM;
} }
spin_lock_init(&svec->irq_lock);
/* Initialize struct fields */ /* Initialize struct fields */
svec->verbose = verbose; svec->verbose = verbose;
svec->lun = lun[ndev]; svec->lun = lun[ndev];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment