On Tue, Nov 08, 2011 at 04:50:28PM -0800, Kuninori Morimoto wrote: > > Hi Felipe > > Thank you for your hard work > > > BTW, we still have Section Mismatch warnings: > > > > WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0xf5d): Section > > mismatch in reference from the function usbhs_mod_probe() to the > > function .devinit.text:usbhs_mod_host_probe() The function > > usbhs_mod_probe() references the function __devinit > > usbhs_mod_host_probe(). This is often because usbhs_mod_probe lacks a > > __devinit annotation or the annotation of usbhs_mod_host_probe is wrong. > > > > WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0xfd7): Section > > mismatch in reference from the function usbhs_mod_probe() to the > > function .devexit.text:usbhs_mod_host_remove() The function > > usbhs_mod_probe() references a function in an exit section. Often the > > function usbhs_mod_host_remove() has valid usage outside the exit > > section and the fix is to remove the __devexit annotation of > > usbhs_mod_host_remove. > > > > WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0x1005): > > Section mismatch in reference from the function usbhs_mod_remove() to > > the function .devexit.text:usbhs_mod_host_remove() The function > > usbhs_mod_remove() references a function in an exit section. Often the > > function usbhs_mod_host_remove() has valid usage outside the exit > > section and the fix is to remove the __devexit annotation of > > usbhs_mod_host_remove. > > > > please fix them during this -rc cycle. > > In my environment, I think this issue was solved by below patch > > [PATCH v2] usb: renesas_usbhs: fixup section mismatch warning > > But not solved ? yes, that was my bad. I still hasn't applied that patch when I replied to this comment. Everything is fine now ;-) -- balbi
Attachment:
signature.asc
Description: Digital signature