Commit 3bff8cb9 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] Missing spin_unlock_irqrestore from rrunner driver.

parent 0d986b96
...@@ -1645,6 +1645,7 @@ static int rr_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) ...@@ -1645,6 +1645,7 @@ static int rr_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
printk(KERN_ERR "%s: Error reading EEPROM\n", printk(KERN_ERR "%s: Error reading EEPROM\n",
dev->name); dev->name);
error = -EFAULT; error = -EFAULT;
spin_unlock_irqrestore(&rrpriv->lock, flags);
goto gf_out; goto gf_out;
} }
spin_unlock_irqrestore(&rrpriv->lock, flags); spin_unlock_irqrestore(&rrpriv->lock, flags);
......
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