* [2.6 patch] net/tc35815.c: fix compilation
@ 2008-10-12 12:49 Adrian Bunk
2008-10-13 4:02 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-10-12 12:49 UTC (permalink / raw)
To: Lennert Buytenhek, David S. Miller, jgarzik, Ralf Baechle
Cc: linux-mips, linux-kernel, netdev
Fix an obvious typo introduced by
commit 298cf9beb9679522de995e249eccbd82f7c51999
(phylib: move to dynamic allocation of struct mii_bus).
<-- snip -->
...
CC drivers/net/tc35815.o
drivers/net/tc35815.c: In function 'tc_mii_init':
drivers/net/tc35815.c:799: error: 'err_out_free_mii_bus' undeclared (first use in this function)
drivers/net/tc35815.c:799: error: (Each undeclared identifier is reported only once
drivers/net/tc35815.c:799: error: for each function it appears in.)
drivers/net/tc35815.c:781: error: label 'err_out_free_mii_bus' used but not defined
make[3]: *** [drivers/net/tc35815.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c
index 4980b12..df20caf 100644
--- a/drivers/net/tc35815.c
+++ b/drivers/net/tc35815.c
@@ -796,7 +796,7 @@ err_out_unregister_bus:
mdiobus_unregister(lp->mii_bus);
err_out_free_mdio_irq:
kfree(lp->mii_bus->irq);
-err_out_free_mii_bus;
+err_out_free_mii_bus:
mdiobus_free(lp->mii_bus);
err_out:
return err;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] net/tc35815.c: fix compilation
2008-10-12 12:49 [2.6 patch] net/tc35815.c: fix compilation Adrian Bunk
@ 2008-10-13 4:02 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-10-13 4:02 UTC (permalink / raw)
To: bunk; +Cc: buytenh, jgarzik, ralf, linux-mips, linux-kernel, netdev
From: Adrian Bunk <bunk@kernel.org>
Date: Sun, 12 Oct 2008 15:49:34 +0300
> Fix an obvious typo introduced by
> commit 298cf9beb9679522de995e249eccbd82f7c51999
> (phylib: move to dynamic allocation of struct mii_bus).
...
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Applied, thanks Adrian.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-13 4:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-12 12:49 [2.6 patch] net/tc35815.c: fix compilation Adrian Bunk
2008-10-13 4:02 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®