mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86: fix section mismatch in pci_scan_bus
Date: Tue, 29 Apr 2008 13:44:06 -0700	[thread overview]
Message-ID: <200804291344.06657.jbarnes@virtuousgeek.org> (raw)
In-Reply-To: <20080429203848.GA13741@uranus.ravnborg.org>

On Tuesday, April 29, 2008 1:38 pm Sam Ravnborg wrote:
> Fix following section mismatch warning:
> WARNING: vmlinux.o(.text+0x275616): Section mismatch in reference from the
> function pci_scan_bus() to the function
> .devinit.text:pci_scan_bus_parented()
>
> The warning was seen with a CONFIG_DEBUG_SECTION_MISMATCH=y build.
> The inline function pci_scan_bus refer to functions annotated
> __devinit - so annotate it __devinit too.
> This revealed a few x86 specific functions that were only
> used from __init or __devinit context.
> So annotate these __devinit and the warning was killed.
>
> The added include in pci.h was not strictly required but
> added to avoid being dependent on indirect includes.
>
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Applied, thanks Sam.

Jesse

      reply	other threads:[~2008-04-29 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 20:38 Sam Ravnborg
2008-04-29 20:44 ` 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=200804291344.06657.jbarnes@virtuousgeek.org \
    --to=jbarnes@virtuousgeek.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=sam@ravnborg.org \
    --cc=tglx@linutronix.de \
    /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®