From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Travis <travis@sgi.com>, "H. Peter Anvin" <hpa@zytor.com>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: 2.6.34-rc1: pci_register_set_vga_state section mismatch
Date: Fri, 26 Mar 2010 14:42:53 +0100 [thread overview]
Message-ID: <4BACB9DD.6000103@s5r6.in-berlin.de> (raw)
In-Reply-To: <tkrat.8b3a3a309b59a31b@s5r6.in-berlin.de>
Stefan Richter wrote:
>> WARNING: drivers/pci/built-in.o(__ksymtab+0x320): Section mismatch in reference from the variable __ksymtab_pci_register_set_vga_state to the function .init.text:pci_register_set_vga_state()
>> The symbol pci_register_set_vga_state is exported and annotated __init
>> Fix this by removing the __init annotation of pci_register_set_vga_state or drop the export.
>
> This is obviously introduced by commit
> 95a8b6efc5d07103583f706c8a5889437d537939
> pci: Update pci_set_vga_state() to call arch functions
PS:
There is only a single user of this symbol in the mainline at the
moment, arch/x86/kernel/apic/x2apic_uv_x.c, controlled by
arch/x86/Kconfig:config X86_UV, which allows only static linking.
I.e. the warning is a false positive for now. But given how small
pci_register_set_vga_state() is, it appears appropriate to drop the
__init annotation.
--
Stefan Richter
-=====-==-=- --== ==-=-
http://arcgraph.de/sr/
next prev parent reply other threads:[~2010-03-26 13:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 13:32 Stefan Richter
2010-03-26 13:42 ` Stefan Richter [this message]
2010-03-26 23:31 ` Jesse Barnes
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=4BACB9DD.6000103@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=travis@sgi.com \
/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®