* [PATCH 1/2] ucc_geth: compilation error fixes
@ 2006-12-07 19:31 Scott Wood
2006-12-11 14:31 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Scott Wood @ 2006-12-07 19:31 UTC (permalink / raw)
To: jgarzik; +Cc: netdev
Fix compilation failures when building the ucc_geth driver with spinlock
debugging.
Signed-off-by: Scott Wood <scottwood@freescale.com>
---
drivers/net/ucc_geth.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 1f05511..62d979b 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -194,9 +194,9 @@ static void enqueue(struct list_head *no
{
unsigned long flags;
- spin_lock_irqsave(ugeth_lock, flags);
+ spin_lock_irqsave(&ugeth_lock, flags);
list_add_tail(node, lh);
- spin_unlock_irqrestore(ugeth_lock, flags);
+ spin_unlock_irqrestore(&ugeth_lock, flags);
}
#endif /* CONFIG_UGETH_FILTERING */
@@ -204,14 +204,14 @@ static struct list_head *dequeue(struct
{
unsigned long flags;
- spin_lock_irqsave(ugeth_lock, flags);
+ spin_lock_irqsave(&ugeth_lock, flags);
if (!list_empty(lh)) {
struct list_head *node = lh->next;
list_del(node);
- spin_unlock_irqrestore(ugeth_lock, flags);
+ spin_unlock_irqrestore(&ugeth_lock, flags);
return node;
} else {
- spin_unlock_irqrestore(ugeth_lock, flags);
+ spin_unlock_irqrestore(&ugeth_lock, flags);
return NULL;
}
}
--
1.4.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] ucc_geth: compilation error fixes
2006-12-07 19:31 [PATCH 1/2] ucc_geth: compilation error fixes Scott Wood
@ 2006-12-11 14:31 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2006-12-11 14:31 UTC (permalink / raw)
To: Scott Wood; +Cc: netdev
Scott Wood wrote:
> Fix compilation failures when building the ucc_geth driver with spinlock
> debugging.
>
> Signed-off-by: Scott Wood <scottwood@freescale.com>
applied 1-2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-11 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 19:31 [PATCH 1/2] ucc_geth: compilation error fixes Scott Wood
2006-12-11 14:31 ` Jeff Garzik
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).