[PATCH] Missing spin_unlock_irqrestore from rrunner driver.

From: davej
Date: Mon Aug 11 2003 - 11:35:32 EST


diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/net/rrunner.c linux-2.5/drivers/net/rrunner.c
--- bk-linus/drivers/net/rrunner.c 2003-08-04 01:00:27.000000000 +0100
+++ linux-2.5/drivers/net/rrunner.c 2003-08-06 18:59:37.000000000 +0100
@@ -1645,6 +1645,7 @@ static int rr_ioctl(struct net_device *d
printk(KERN_ERR "%s: Error reading EEPROM\n",
dev->name);
error = -EFAULT;
+ spin_unlock_irqrestore(&rrpriv->lock, flags);
goto gf_out;
}
spin_unlock_irqrestore(&rrpriv->lock, flags);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/