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:	Sun, 18 Jan 2009 23:59:45 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Leonardo Potenza <leo.potenza@...il.com>
Cc:	kernel-janitors@...r.kernel.org, mingo@...hat.com,
	linux-kernel@...r.kernel.org, "H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] x86: fix section mismatch warnings in
	kernel/setup_percpu.c


* Leonardo Potenza <leo.potenza@...il.com> wrote:

> From: Leonardo Potenza <lpotenza@...ind.it>
> 
> The function setup_cpu_local_masks() has been marked __init, in order to remove the following section mismatch messages:
> 
> WARNING: vmlinux.o(.text+0x3c2c7): Section mismatch in reference from the function setup_cpu_local_masks() to the function .init.text:alloc_bootmem_cpumask_var()
> The function setup_cpu_local_masks() references
> the function __init alloc_bootmem_cpumask_var().
> This is often because setup_cpu_local_masks lacks a __init 
> annotation or the annotation of alloc_bootmem_cpumask_var is wrong.
> 
> WARNING: vmlinux.o(.text+0x3c2d3): Section mismatch in reference from the function setup_cpu_local_masks() to the function .init.text:alloc_bootmem_cpumask_var()
> The function setup_cpu_local_masks() references
> the function __init alloc_bootmem_cpumask_var().
> This is often because setup_cpu_local_masks lacks a __init 
> annotation or the annotation of alloc_bootmem_cpumask_var is wrong.
> 
> WARNING: vmlinux.o(.text+0x3c2df): Section mismatch in reference from the function setup_cpu_local_masks() to the function .init.text:alloc_bootmem_cpumask_var()
> The function setup_cpu_local_masks() references
> the function __init alloc_bootmem_cpumask_var().
> This is often because setup_cpu_local_masks lacks a __init 
> annotation or the annotation of alloc_bootmem_cpumask_var is wrong.
> 
> WARNING: vmlinux.o(.text+0x3c2eb): Section mismatch in reference from the function setup_cpu_local_masks() to the function .init.text:alloc_bootmem_cpumask_var()
> The function setup_cpu_local_masks() references
> the function __init alloc_bootmem_cpumask_var().
> This is often because setup_cpu_local_masks lacks a __init 
> annotation or the annotation of alloc_bootmem_cpumask_var is wrong.
> 
> Signed-off-by: Leonardo Potenza <lpotenza@...ind.it>

applied to tip/x86/urgent, thanks Leonardo!

	Ingo
--
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