Re: [PATCH] emac/zmii link warnings

2008-02-14 Thread Josh Boyer
On Thu, 07 Feb 2008 00:08:33 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > Ok, here is my best shot at removing the warnings. It seems to me that > functions called from a dev_init section should not be dev_exit. This seems to fix those specific warnings, but there are others lurking in some

Re: [PATCH] emac/zmii link warnings

2008-02-06 Thread Sean MacLennan
Ok, here is my best shot at removing the warnings. It seems to me that functions called from a dev_init section should not be dev_exit. Cheers, Sean Signed-off-by: Sean MacLennan <[EMAIL PROTECTED]> --- diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index e6c69f7

Re: emac/zmii link warnings

2008-01-14 Thread Sean MacLennan
Stephen Rothwell wrote: > On Mon, 14 Jan 2008 23:15:41 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > >> I keep getting these link(?) warnings: >> >> WARNING: vmlinux.o(.data+0x16178): Section mismatch: reference to >> .init.text:emac_of_bus_notify (between 'emac_of_bus_notifier' and >> 'em

Re: emac/zmii link warnings

2008-01-14 Thread Stephen Rothwell
On Mon, 14 Jan 2008 23:45:17 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > > Stephen Rothwell wrote: > > On Mon, 14 Jan 2008 23:15:41 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > > > >> I keep getting these link(?) warnings: > >> > >> WARNING: vmlinux.o(.data+0x16178): Section mismatch:

Re: emac/zmii link warnings

2008-01-14 Thread Sean MacLennan
Stephen Rothwell wrote: > On Mon, 14 Jan 2008 23:15:41 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > >> I keep getting these link(?) warnings: >> >> WARNING: vmlinux.o(.data+0x16178): Section mismatch: reference to >> .init.text:emac_of_bus_notify (between 'emac_of_bus_notifier' and >> 'em

Re: emac/zmii link warnings

2008-01-14 Thread Stephen Rothwell
On Mon, 14 Jan 2008 23:15:41 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > > I keep getting these link(?) warnings: > > WARNING: vmlinux.o(.data+0x16178): Section mismatch: reference to > .init.text:emac_of_bus_notify (between 'emac_of_bus_notifier' and > 'emac_phy_map_lock') emac_of_bus_no

emac/zmii link warnings

2008-01-14 Thread Sean MacLennan
I keep getting these link(?) warnings: WARNING: vmlinux.o(.data+0x16178): Section mismatch: reference to .init.text:emac_of_bus_notify (between 'emac_of_bus_notifier' and 'emac_phy_map_lock') WARNING: vmlinux.o(.init.text+0x16ba8): Section mismatch: reference to .exit.text:zmii_detach (between