On 7/4/2012 9:07 AM, Russell King - ARM Linux wrote:
> WARNING: drivers/built-in.o(.init.text+0x58e0): Section mismatch in reference 
> from the function libfcoe_init() to the function 
> .exit.text:fcoe_transport_exit()
> The function __init libfcoe_init() references
> a function __exit fcoe_transport_exit().
> This is often seen when error handling in the init function
> uses functionality in the exit path.
> The fix is often to remove the __exit annotation of
> fcoe_transport_exit() so it may be used outside an exit section.
>
> This also causes a build error on ARM:
>
> `fcoe_transport_exit' referenced in section `.init.text' of 
> drivers/built-in.o: defined in discarded section `.exit.text' of 
> drivers/built-in.o
>
> Signed-off-by: Russell King <rmk+ker...@arm.linux.org.uk>
> ---

Hey Russell,

    Thanks for the patch. This exact change has been posted a few times 
on various lists. It's currently in scsi.git/for-next. Take a look at 
this tread from linux-scsi for the discussion about it.

http://marc.info/?l=linux-scsi&m=134103414011479&w=2

Thanks, //Rob
_______________________________________________
devel mailing list
devel@open-fcoe.org
https://lists.open-fcoe.org/mailman/listinfo/devel

Reply via email to