lkml.org 
[lkml]   [2003]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Missing spin_unlock_irqrestore from rrunner driver.
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.132 / U:6.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site