>
> > However, fcoe_transport_exit() is called only in module *exit* path by
> the
> > module exit func libfcoe_exit(), not in the init_module error path. Let
> me
> > take a objdump of the libfcoe.o to see where your above section
> mismatch warning
> > is from. Is this on 32bit only?
>
> static int __init libfcoe_init(void)
> {
> int rc = 0;
>
> rc = fcoe_transport_init();
> if (rc)
> return rc;
>
> rc = fcoe_sysfs_setup();
> if (rc)
> fcoe_transport_exit(); <=============
>
> return rc;
> }
>
> It is called from __init context here.
>
>
>
>
> static void __exit libfcoe_exit(void)
> {
> fcoe_sysfs_teardown();
> fcoe_transport_exit(); <==============
> }
>
> And from __exit context here.
> This is -rc1.
>
> Sam
Ah...haven't pulled the rc1 yet, which was why I did not see the this.
Anyway, yeah you are right, dropping __exit should fix the problem.
thanks,
yi
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[SCSI Target Devel]
[Linux SCSI Target Infrastructure]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photos]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Linux IIO]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]