* [PATCH] [NET][POWERPC] ucc_geth: really fix section mismatch
@ 2007-12-17 11:54 Anton Vorontsov
2007-12-17 21:03 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Anton Vorontsov @ 2007-12-17 11:54 UTC (permalink / raw)
To: Jeff Garzik; +Cc: netdev, Li Yang, linuxppc-dev
Commit ed7e63a51d46e835422d89c687b8a3e419a4212a has tried to fix
section mismatch:
WARNING: vmlinux.o(.init.text+0x17278): Section mismatch: reference to
.exit.text:uec_mdio_exit (between 'ucc_geth_init' and 'uec_mdio_init')
But that mismatch still happens.
This patch actually fixing section mismatch by removing __exit from
the header file.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
drivers/net/ucc_geth_mii.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ucc_geth_mii.h b/drivers/net/ucc_geth_mii.h
index d834370..1e45b20 100644
--- a/drivers/net/ucc_geth_mii.h
+++ b/drivers/net/ucc_geth_mii.h
@@ -96,5 +96,5 @@ enum enet_tbi_mii_reg {
int uec_mdio_read(struct mii_bus *bus, int mii_id, int regnum);
int uec_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value);
int __init uec_mdio_init(void);
-void __exit uec_mdio_exit(void);
+void uec_mdio_exit(void);
#endif /* __UEC_MII_H */
--
1.5.2.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] [NET][POWERPC] ucc_geth: really fix section mismatch
2007-12-17 11:54 [PATCH] [NET][POWERPC] ucc_geth: really fix section mismatch Anton Vorontsov
@ 2007-12-17 21:03 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-12-17 21:03 UTC (permalink / raw)
To: Anton Vorontsov; +Cc: netdev, Li Yang, linuxppc-dev
Anton Vorontsov wrote:
> Commit ed7e63a51d46e835422d89c687b8a3e419a4212a has tried to fix
> section mismatch:
>
> WARNING: vmlinux.o(.init.text+0x17278): Section mismatch: reference to
> .exit.text:uec_mdio_exit (between 'ucc_geth_init' and 'uec_mdio_init')
>
> But that mismatch still happens.
>
> This patch actually fixing section mismatch by removing __exit from
> the header file.
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> drivers/net/ucc_geth_mii.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/ucc_geth_mii.h b/drivers/net/ucc_geth_mii.h
> index d834370..1e45b20 100644
> --- a/drivers/net/ucc_geth_mii.h
> +++ b/drivers/net/ucc_geth_mii.h
> @@ -96,5 +96,5 @@ enum enet_tbi_mii_reg {
> int uec_mdio_read(struct mii_bus *bus, int mii_id, int regnum);
> int uec_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value);
> int __init uec_mdio_init(void);
> -void __exit uec_mdio_exit(void);
applied #upstream-fixes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-17 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-17 11:54 [PATCH] [NET][POWERPC] ucc_geth: really fix section mismatch Anton Vorontsov
2007-12-17 21:03 ` 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).