From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, Jiri Slaby <jslaby@suse.cz>,
Aristeu Sergio <arozansk@redhat.com>,
linux-pci@vger.kernel.org, x86@kernel.org
Subject: Re: [PATCH] pci: fix section mismatch on update_res()
Date: Wed, 16 Dec 2009 11:30:44 -0800 [thread overview]
Message-ID: <20091216113044.2d3e282b@jbarnes-piketon> (raw)
In-Reply-To: <4B26E436.9000806@jp.fujitsu.com>
On Tue, 15 Dec 2009 10:19:50 +0900
Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> wrote:
> From: Jiri Slaby <jslaby@suse.cz>
>
> Remark update_res from __init to __devinit as it is called also
> from __devinit functions.
>
> This patch removes the following warning message:
>
> WARNING: vmlinux.o(.devinit.text+0x774a): Section mismatch
> in reference from the function pci_root_bus_res() to the
> function .init.text:update_res()
> The function __devinit pci_root_bus_res() references
> a function __init update_res().
> If update_res is only used by pci_root_bus_res then
> annotate update_res with a matching annotation.
>
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: Aristeu Sergio <arozansk@redhat.com>
> Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
> Cc: linux-pci@vger.kernel.org
> Cc: x86@kernel.org
> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
> ---
> arch/x86/pci/bus_numa.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/pci/bus_numa.c b/arch/x86/pci/bus_numa.c
> index 145df00..f939d60 100644
> --- a/arch/x86/pci/bus_numa.c
> +++ b/arch/x86/pci/bus_numa.c
> @@ -51,7 +51,7 @@ void x86_pci_root_bus_res_quirks(struct pci_bus *b)
> }
> }
>
> -void __init update_res(struct pci_root_info *info, size_t start,
> +void __devinit update_res(struct pci_root_info *info, size_t start,
> size_t end, unsigned long flags, int
> merge) {
> int i;
Applied, thanks Hidetoshi-san and Jiri.
--
Jesse Barnes, Intel Open Source Technology Center
prev parent reply other threads:[~2009-12-16 19:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 1:19 Hidetoshi Seto
2009-12-16 19:30 ` Jesse Barnes [this message]
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=20091216113044.2d3e282b@jbarnes-piketon \
--to=jbarnes@virtuousgeek.org \
--cc=arozansk@redhat.com \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=seto.hidetoshi@jp.fujitsu.com \
--cc=x86@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
all inboxes | Powered by JetHome®