Re: [PATCH] libfcoe: fix section mismatches

2012-07-12 Thread Heiko Carstens
On Thu, Jul 12, 2012 at 07:59:12PM +, Rustad, Mark D wrote: > On Jul 11, 2012, at 4:02 AM, Heiko Carstens wrote: > > > Fix this warning: > > > > WARNING: drivers/scsi/fcoe/libfcoe.o(.init.text+0x7c): > > Section mismatch in reference from the function init_module() > > to the function .exit.t

Re: [PATCH] libfcoe: fix section mismatches

2012-07-12 Thread Rustad, Mark D
On Jul 11, 2012, at 4:02 AM, Heiko Carstens wrote: > Fix this warning: > > WARNING: drivers/scsi/fcoe/libfcoe.o(.init.text+0x7c): > Section mismatch in reference from the function init_module() > to the function .exit.text:fcoe_transport_exit() As far as I can see, resolving this issue only requ

[PATCH] libfcoe: fix section mismatches

2012-07-11 Thread Heiko Carstens
Fix this warning: WARNING: drivers/scsi/fcoe/libfcoe.o(.init.text+0x7c): Section mismatch in reference from the function init_module() to the function .exit.text:fcoe_transport_exit() libfcoe_init() calls fcoe_transport_exit() which is annotated with __exit which puts it into the exit section.