On Mon, Feb 25, 2008 at 11:45:12AM +0300, Andrey Borzenkov wrote:
> During compilation:
> 
>   LD [M]  drivers/pcmcia/pcmcia_core.o
> WARNING: drivers/pcmcia/pcmcia_core.o(.data+0x1d4): Section mismatch in 
> reference from the variable pccard_sysfs_interface to the function 
> .devinit.text:pccard_sysfs_add_socket()
> The variable pccard_sysfs_interface references
> the function __devinit pccard_sysfs_add_socket()
> If the reference is valid then annotate the
> variable with __init* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: drivers/pcmcia/pcmcia_core.o(.data+0x1d8): Section mismatch in 
> reference from the variable pccard_sysfs_interface to the function 
> .devexit.text:pccard_sysfs_remove_socket()
> The variable pccard_sysfs_interface references
> the function __devexit pccard_sysfs_remove_socket()
> If the reference is valid then annotate the
> variable with __exit* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
>   LD [M]  drivers/pcmcia/pcmcia.o
> WARNING: drivers/pcmcia/pcmcia.o(.data+0x4c): Section mismatch in reference 
> from the variable pcmcia_bus_interface to the function 
> .devinit.text:pcmcia_bus_add_socket()
> The variable pcmcia_bus_interface references
> the function __devinit pcmcia_bus_add_socket()
> If the reference is valid then annotate the
> variable with __init* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> and later during modpost:
> 
>   MODPOST 260 modules
> WARNING: drivers/pcmcia/pcmcia.o(.data+0x4c): Section mismatch in reference 
> from the variable pcmcia_bus_interface to the function 
> .devinit.text:pcmcia_bus_add_socket()
> The variable pcmcia_bus_interface references
> the function __devinit pcmcia_bus_add_socket()
> If the reference is valid then annotate the
> variable with __init* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: drivers/pcmcia/pcmcia_core.o(.data+0x1d4): Section mismatch in 
> reference from the variable pccard_sysfs_interface to the function 
> .devinit.text:pccard_sysfs_add_socket()
> The variable pccard_sysfs_interface references
> the function __devinit pccard_sysfs_add_socket()
> If the reference is valid then annotate the
> variable with __init* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: drivers/pcmcia/pcmcia_core.o(.data+0x1d8): Section mismatch in 
> reference from the variable pccard_sysfs_interface to the function 
> .devexit.text:pccard_sysfs_remove_socket()
> The variable pccard_sysfs_interface references
> the function __devexit pccard_sysfs_remove_socket()
> If the reference is valid then annotate the
> variable with __exit* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: drivers/pcmcia/rsrc_nonstatic.o(.data+0x9c): Section mismatch in 
> reference from the variable pccard_rsrc_interface to the function 
> .devinit.text:pccard_sysfs_add_rsrc()
> The variable pccard_rsrc_interface references
> the function __devinit pccard_sysfs_add_rsrc()
> If the reference is valid then annotate the
> variable with __init* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> WARNING: drivers/pcmcia/rsrc_nonstatic.o(.data+0xa0): Section mismatch in 
> reference from the variable pccard_rsrc_interface to the function 
> .devexit.text:pccard_sysfs_remove_rsrc()
> The variable pccard_rsrc_interface references
> the function __devexit pccard_sysfs_remove_rsrc()
> If the reference is valid then annotate the
> variable with __exit* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
> 
> config attached.

Hi Andrey.

I tried your config with my tree patched with all patches I have submitted
for section mismatch warnings and the good news is that there were no warnings.
The patches are queued up mostly in -mm and some will likely only
hit mainline in next merge window. So be paitient a few more months.

        Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to