From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: fixup section mismatch worning for intc_set_ack_handle()
Date: Fri, 23 Mar 2012 07:05:18 +0000 [thread overview]
Message-ID: <20120323070518.GG26543@linux-sh.org> (raw)
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.
next reply other threads:[~2012-03-23 7:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 7:05 Paul Mundt [this message]
2012-03-23 8:39 ` [PATCH] sh: fixup section mismatch worning for intc_set_ack_handle() Kuninori Morimoto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120323070518.GG26543@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox