Skip to contentSkip to conversation

Section mismatch warning with linux next in usbhs_init_phys()

DISCUSSION Tony Lindgren 2 participants 2 messages Apr 11, 2013 – Apr 29, 2013

lore
Share & tools
lore
#0 lore raw

Hi Roger,

Looks like there's a section mismatch issue in linux next:

WARNING: vmlinux.o(.text+0x2a7b4): Section mismatch in reference from the function usbhs_init_phys() to the function .init.text:usb_bind_phy() The function usbhs_init_phys() references
the function __init usb_bind_phy().
This is often because usbhs_init_phys lacks a __init
annotation or the annotation of usb_bind_phy is wrong.

Can you please take a look?

Also, is the auxclk related patch the only patch missing for USB to work on panda with DT in linux next?

Or are some .dts or .config updates needed also? So far no luck here.

Regards,

Tony

#1 lore raw
Quoted 11 lines · Tony Lindgren

Hi Roger,

Looks like there's a section mismatch issue in linux next:

WARNING: vmlinux.o(.text+0x2a7b4): Section mismatch in reference from the function usbhs_init_phys() to the function .init.text:usb_bind_phy() The function usbhs_init_phys() references
the function __init usb_bind_phy().
This is often because usbhs_init_phys lacks a __init
annotation or the annotation of usb_bind_phy is wrong.

Can you please take a look?

already taken care of, should be on today's linux-next:

http://git.kernel.org/cgit/linux/kernel/git/gregkh/usb.git/commit/?id=19d8ceddda8b3a806a0960106ae6aa4dcc21df3b

Signature · 1 line
balbi