sata_highbank: mismatch in reference
Rob Herring
rob.herring at calxeda.com
Mon Oct 8 04:36:54 EST 2012
There's already a fix in flight for this.
Rob
Grant Likely <grant.likely at secretlab.ca> wrote:
>On Oct 7, 2012 3:05 PM, "Sami Kerola" <kerolasa at iki.fi> wrote:
>>
>> FYI maintainers,
>>
>> I tried to compile linus git kernel (v3.6-7996-g0b8e74c) and got
>> mismatch warning. I am not sure, but the warning might have something
>> to do config option CONFIG_OPTIMIZE_INLINING=y. Here are the
>> interesting lines from compilation attempt.
>>
>> WARNING: drivers/ata/sata_highbank.o(.data+0x0): Section mismatch in
>> reference from the variable ahci_highbank_driver to the function
>> .init.text:ahci_highbank_probe()
>> The variable ahci_highbank_driver references
>> the function __init ahci_highbank_probe()
>> If the reference is valid then annotate the
>> variable with __init* or __refdata (see linux/init.h) or name the
>variable:
>> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
>
>This error means that the _probe and _release hooks need to be changed
>from __init to __devinit and __exit to __devexit.
>
>g.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20121007/3e51192c/attachment.html>
More information about the devicetree-discuss
mailing list