lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 29 Apr 2008 13:44:06 -0700
From:	Jesse Barnes <jbarnes@...tuousgeek.org>
To:	Sam Ravnborg <sam@...nborg.org>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: fix section mismatch in pci_scan_bus

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@...nborg.org>

Applied, thanks Sam.

Jesse
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ