All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] sh: fixup section mismatch worning for intc_set_ack_handle()
@ 2012-03-23  7:05 Paul Mundt
  2012-03-23  8:39 ` Kuninori Morimoto
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Mundt @ 2012-03-23  7:05 UTC (permalink / raw)
  To: linux-sh

On Thu, Mar 22, 2012 at 10:36:29PM -0700, Kuninori Morimoto wrote:
> This patch fixup below warning
> 
> WARNING: drivers/built-in.o(.text+0x5d760):
> Section mismatch in reference from the function
> intc_set_ack_handle() to the function .init.text:intc_ack_data()
> The function intc_set_ack_handle()
> references the function __init intc_ack_data().
> This is often because intc_set_ack_handle lacks a __init
> annotation or the annotation of intc_ack_data is wrong.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Hmm, no. This is just papering over the problem. The real issue is that
intc_ack_data() is flagged __init when it shouldn't be. I'll fix it up,
thanks for reporting it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sh: fixup section mismatch worning for intc_set_ack_handle()
  2012-03-23  7:05 [PATCH] sh: fixup section mismatch worning for intc_set_ack_handle() Paul Mundt
@ 2012-03-23  8:39 ` Kuninori Morimoto
  0 siblings, 0 replies; 2+ messages in thread
From: Kuninori Morimoto @ 2012-03-23  8:39 UTC (permalink / raw)
  To: linux-sh


Hi Paul

> > WARNING: drivers/built-in.o(.text+0x5d760):
> > Section mismatch in reference from the function
> > intc_set_ack_handle() to the function .init.text:intc_ack_data()
> > The function intc_set_ack_handle()
> > references the function __init intc_ack_data().
> > This is often because intc_set_ack_handle lacks a __init
> > annotation or the annotation of intc_ack_data is wrong.
> > 
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Hmm, no. This is just papering over the problem. The real issue is that
> intc_ack_data() is flagged __init when it shouldn't be. I'll fix it up,
> thanks for reporting it.

OK. thank you.
please add

Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-23  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23  7:05 [PATCH] sh: fixup section mismatch worning for intc_set_ack_handle() Paul Mundt
2012-03-23  8:39 ` Kuninori Morimoto

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.