sk_mca.c: fix linker error
Subsystems (2)
PATCH 1/1 sk_mca.c: fix linker error
Hi,
This patch fixes the following linker error due to a typo:
*** Warning: "spin_lock_irqrestore" [drivers/net/sk_mca.ko] undefined!
drivers/net/sk_mca.c +1 -1
@@ -280,7 +280,7 @@/* reenable interrupts */ -spin_lock_irqrestore (&priv->lock, flags); +spin_unlock_irqrestore (&priv->lock, flags); }/* get LANCE register */
Quoted 5 lines · Vinay K Nallamothu
Hi,
This patch fixes the following linker error due to a typo:
*** Warning: "
spin_lock_irqrestore" [drivers/net/sk_mca.ko] undefined!
Oops. missed out few more. Here is the updated patch.
drivers/net/sk_mca.c +3 -3
@@ -280,7 +280,7 @@/* reenable interrupts */ -spin_lock_irqrestore (&priv->lock, flags); +spin_unlock_irqrestore (&priv->lock, flags); }/* get LANCE register */
@@ -319,7 +319,7 @@/* reenable interrupts */ -spin_lock_irqrestore (&priv->lock, flags); +spin_unlock_irqrestore (&priv->lock, flags);return res; }
@@ -993,7 +993,7 @@if (priv->txbusy ==0 )SetLANCE (dev,LANCE_CSR0 ,CSR0_INEA |CSR0_TDMD ); -spin_lock_irqrestore (&priv->lock, flags); +spin_unlock_irqrestore (&priv->lock, flags); tx_done:
Quoted 7 lines · On 23 Aug 2003 19:15:15 +0530 Vinay K Nallamothu <[email protected]>…
Quoted 5 lines · Vinay K Nallamothu
Hi,
This patch fixes the following linker error due to a typo:
*** Warning: "
spin_lock_irqrestore" [drivers/net/sk_mca.ko] undefined!Oops. missed out few more. Here is the updated patch.
Aplied, thanks.