* Re: WARNING: drivers/built-in.o(.devinit.text+0xa9b48): Section mismatch in reference from the function bbc_i2c_probe() to the function .init.text:attach_one_i2c.constprop.1()
[not found] <20121030143911.GA20034@localhost>
@ 2012-11-15 11:57 ` Grant Likely
0 siblings, 0 replies; only message in thread
From: Grant Likely @ 2012-11-15 11:57 UTC (permalink / raw)
To: Fengguang Wu; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
On Tue, 30 Oct 2012 22:39:11 +0800, Fengguang Wu <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> Hi Grant,
>
> Here is an aged warning in sparc allyesconfig builds and it seems that
> attach_one_i2c() is only called by bbc_envctrl_init().
>
> WARNING: drivers/built-in.o(.devinit.text+0xa9b48): Section mismatch in reference from the function bbc_i2c_probe() to the function .init.text:attach_one_i2c.constprop.1()
> The function __devinit bbc_i2c_probe() references
> a function __init attach_one_i2c.constprop.1().
> If attach_one_i2c.constprop.1 is only used by bbc_i2c_probe then
> annotate attach_one_i2c.constprop.1 with a matching annotation.
Looks like attach_one_i2c needs to be switched to __devinit. I don't
have any involvement with that code though. Craft a patch and send it to
the sparc list.
g.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-15 11:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20121030143911.GA20034@localhost>
2012-11-15 11:57 ` WARNING: drivers/built-in.o(.devinit.text+0xa9b48): Section mismatch in reference from the function bbc_i2c_probe() to the function .init.text:attach_one_i2c.constprop.1() Grant Likely
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.