Skip to contentSkip to conversation

gianfar: fix double lock typo

PATCH In review Dan Carpenter 2 participants 2 messages Oct 13, 2010 – Oct 18, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gianfar: fix double lock typo

This should be a _restore() instead of a _save().

drivers/net/gianfar_ethtool.c +1 -1
index ae8e5d3..5c566eb 100644
@@ -538,7 +538,7 @@ static int gfar_set_rx_csum(struct net_device *dev, uint32_t data)
 
 		unlock_tx_qs(priv);
 		unlock_rx_qs(priv);
-		local_irq_save(flags);
+		local_irq_restore(flags);
 
 		for (i = 0; i < priv->num_rx_queues; i++)
 			gfar_clean_rx_ring(priv->rx_queue[i],