[2.6.27-git1] compilation warning with mtrr_cleanup

From: Rufus & Azrael
Date: Sat Oct 11 2008 - 14:19:42 EST


Hello all,


I have this compilation warning with fresh 2.6.27-git1 kernel :

arch/x86/kernel/cpu/mtrr/main.c: In function âmtrr_cleanupâ:
arch/x86/kernel/cpu/mtrr/main.c:1363: attention : âgran_factorâ may be used uninitialized in this function
arch/x86/kernel/cpu/mtrr/main.c:1364: attention : âgran_baseâ may be used uninitialized in this function

WARNING: kernel/built-in.o(.text+0x10690): Section mismatch in reference from the function notify_cpu_starting() to the variable .cpuinit.data:cpu_chain
The function notify_cpu_starting() references
the variable __cpuinitdata cpu_chain.
This is often because notify_cpu_starting lacks a __cpuinitdata
annotation or the annotation of cpu_chain is wrong.

Regards.

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