Skip to contentSkip to conversation

compilation warning with mtrr_cleanup

2.6.27-git1 Rufus & Azrael 1 participant 1 message Oct 11, 2008

lore
Share & tools
lore
#0 lore raw

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.