[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45F191FA.2070205@garzik.org>
Date: Fri, 09 Mar 2007 11:57:30 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Ralf Baechle <ralf@...ux-mips.org>
CC: Andrew Morton <akpm@...ux-foundation.org>, netdev@...r.kernel.org
Subject: Re: [NET] 3c59x: Fix several modpost warnings
Ralf Baechle wrote:
> WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4580) and 'vortex_eisa_remove'
> WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4584) and 'vortex_eisa_remove'
> WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4588) and 'vortex_eisa_remove'
> WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x458c) and 'vortex_eisa_remove'
>
> Fixed by:
>
> o move definition of vortex_eisa_driver below the functions it references.
> o remove now unnecessary prototypes for vortex_eisa_probe and
> vortex_eisa_remove.
> o Make vortex_eisa_probe an __init function.
> o Make vortex_eisa_remove a __devexit function.
> o Wrap vortex_eisa_driver reference to vortex_eisa_remove with
> __devexit_p().
>
> Signed-off-by: Ralf Baechle <ralf@...ux-mips.org>
>
> drivers/net/3c59x.c | 28 +++++++++++++---------------
> 1 file changed, 13 insertions(+), 15 deletions(-)
applied this and ibmtr patch
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists