mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: build warning after merging all the trees (tip tree related)
@ 2010-02-23  6:25 Stephen Rothwell
  2010-02-23  6:34 ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2010-02-23  6:25 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
  Cc: linux-next, linux-kernel, Andrew Morton, Mike Travis

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

Hi all,

After merging all the trees, today's linux-next build (powerpc
ppc44x_defconfig) produced this warning:

WARNING: drivers/pci/built-in.o(__ksymtab+0x1a0): 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.

Introduced by commit 95a8b6efc5d07103583f706c8a5889437d537939 ("pci:
Update pci_set_vga_state() to call arch functions").  It really doesn't
make much sense to apply EXPORT_SYMBOL() to a function marked __init (or
vice versa, as the case may be :-)).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: linux-next: build warning after merging all the trees (tip tree related)
  2010-02-23  6:25 linux-next: build warning after merging all the trees (tip tree related) Stephen Rothwell
@ 2010-02-23  6:34 ` Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2010-02-23  6:34 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
  Cc: linux-next, linux-kernel, Andrew Morton, Mike Travis

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

On Tue, 23 Feb 2010 17:25:43 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging all the trees, today's linux-next build (powerpc
> ppc44x_defconfig) produced this warning:

I got this from an i386 defconfig build as well (after enabling
CONFIG_DEBUG_SECTION_MISMATCH, of course).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2010-02-23  6:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-23  6:25 linux-next: build warning after merging all the trees (tip tree related) Stephen Rothwell
2010-02-23  6:34 ` Stephen Rothwell

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®