* [PATCH 2.6.0-test4][NET] sk_mca.c: fix linker error
@ 2003-08-23 13:22 Vinay K Nallamothu
2003-08-23 13:45 ` Vinay K Nallamothu
0 siblings, 1 reply; 3+ messages in thread
From: Vinay K Nallamothu @ 2003-08-23 13:22 UTC (permalink / raw)
To: netdev; +Cc: LKML
Hi,
This patch fixes the following linker error due to a typo:
*** Warning: "spin_lock_irqrestore" [drivers/net/sk_mca.ko] undefined!
--- linux-2.6.0-test4/drivers/net/sk_mca.c 2003-07-28 10:43:57.000000000 +0530
+++ linux-2.6.0-test4-nvk/drivers/net/sk_mca.c 2003-08-23 18:47:55.000000000 +0530
@@ -280,7 +280,7 @@
/* reenable interrupts */
- spin_lock_irqrestore(&priv->lock, flags);
+ spin_unlock_irqrestore(&priv->lock, flags);
}
/* get LANCE register */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2.6.0-test4][NET] sk_mca.c: fix linker error
2003-08-23 13:22 [PATCH 2.6.0-test4][NET] sk_mca.c: fix linker error Vinay K Nallamothu
@ 2003-08-23 13:45 ` Vinay K Nallamothu
2003-08-24 11:41 ` David S. Miller
0 siblings, 1 reply; 3+ messages in thread
From: Vinay K Nallamothu @ 2003-08-23 13:45 UTC (permalink / raw)
To: Vinay K Nallamothu; +Cc: netdev, LKML
On Sat, 2003-08-23 at 18:52, Vinay K Nallamothu wrote:
> 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.
--- linux-2.6.0-test4/drivers/net/sk_mca.c 2003-07-28 10:43:57.000000000 +0530
+++ linux-2.6.0-test4-nvk/drivers/net/sk_mca.c 2003-08-23 19:12:16.000000000 +0530
@@ -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:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2.6.0-test4][NET] sk_mca.c: fix linker error
2003-08-23 13:45 ` Vinay K Nallamothu
@ 2003-08-24 11:41 ` David S. Miller
0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2003-08-24 11:41 UTC (permalink / raw)
To: Vinay K Nallamothu; +Cc: vinay-rc, netdev, linux-kernel
On 23 Aug 2003 19:15:15 +0530
Vinay K Nallamothu <vinay-rc@naturesoft.net> wrote:
> On Sat, 2003-08-23 at 18:52, Vinay K Nallamothu wrote:
> > 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-24 11:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-23 13:22 [PATCH 2.6.0-test4][NET] sk_mca.c: fix linker error Vinay K Nallamothu
2003-08-23 13:45 ` Vinay K Nallamothu
2003-08-24 11:41 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).