Re: Linux 3.4-rc1

From: Shea Levy
Date: Sat Mar 31 2012 - 22:07:42 EST


On 03/31/2012 09:48 PM, Shea Levy wrote:
Hello,

On 03/31/2012 07:58 PM, Linus Torvalds wrote:
Ok, it's been two weeks, and the merge window is over. Linux 3.4-rc1
has been pushed out to the git servers, and the tar-ball and patches
are going out as I type this (probably done by the time I'm done).


Building this fails with:

Kernel: arch/x86/boot/bzImage is ready (#1)
ERROR: "snd_tea575x_init" [drivers/media/radio/radio-maxiradio.ko] undefined!
ERROR: "snd_tea575x_exit" [drivers/media/radio/radio-maxiradio.ko] undefined!
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

.config follows, I'll build with CONFIG_DEBUG_SECTION_MISMATCH and report back.


Warnings I get:

WARNING: drivers/usb/host/xhci-hcd.o(.init.text+0x3b): Section mismatch in reference from the function init_module() to the function .exit.text:xhci_unregister_pci()
The function __init init_module() references
a function __exit xhci_unregister_pci().
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
xhci_unregister_pci() so it may be used outside an exit section.

WARNING: drivers/usb/gadget/g_audio.o(.init.text+0x612): Section mismatch in reference from the function afunc_bind() to the function .devexit.text:snd_uac2_remove()
The function __init afunc_bind() references
a function __devexit snd_uac2_remove().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
snd_uac2_remove() so it may be used outside an exit section.

WARNING: drivers/staging/comedi/drivers/s626.o(.text+0x255a): Section mismatch in reference from the function s626_attach() to the variable .devinit.rodata:s626_pci_table
The function s626_attach() references
the variable __devinitconst s626_pci_table.
This is often because s626_attach lacks a __devinitconst
annotation or the annotation of s626_pci_table is wrong.

WARNING: drivers/staging/comedi/drivers/s626.o(.text+0x2560): Section mismatch in reference from the function s626_attach() to the variable .devinit.rodata:s626_pci_table
The function s626_attach() references
the variable __devinitconst s626_pci_table.
This is often because s626_attach lacks a __devinitconst
annotation or the annotation of s626_pci_table is wrong.

WARNING: drivers/staging/comedi/drivers/s626.o(.text+0x2566): Section mismatch i
n reference from the function s626_attach() to the variable .devinit.rodata:s626_pci_table
The function s626_attach() references
the variable __devinitconst s626_pci_table.
This is often because s626_attach lacks a __devinitconst
annotation or the annotation of s626_pci_table is wrong.

WARNING: drivers/staging/comedi/drivers/s626.o(.text+0x256c): Section mismatch in reference from the function s626_attach() to the variable .devinit.rodata:s626_pci_table
The function s626_attach() references
the variable __devinitconst s626_pci_table.
This is often because s626_attach lacks a __devinitconst
annotation or the annotation of s626_pci_table is wrong.

WARNING: drivers/usb/gadget/g_audio.o(.init.text+0x612): Section mismatch in reference from the function afunc_bind() to the function .devexit.text:snd_uac2_remove()
The function __init afunc_bind() references
a function __devexit snd_uac2_remove().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
snd_uac2_remove() so it may be used outside an exit section.

WARNING: drivers/usb/host/xhci-hcd.o(.init.text+0x3b): Section mismatch in reference from the function init_module() to the function .exit.text:xhci_unregister_pci()
The function __init init_module() references
a function __exit xhci_unregister_pci().
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
xhci_unregister_pci() so it may be used outside an exit section.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/