Subject: Warnings while compiling for i386

From: vibi sreenivasan <[email-masked]>
Date: Fri, 11 Jul 2008 15:38:56 +0530

hello ,
	I am getting alot of warnings while compiling for i386 architecture.
	i am using default configuration for i386 & my compiler version is
4.1.1
	
	following are warnings

arch/x86/kernel/smpboot.c: In function ‘do_boot_cpu’:
arch/x86/kernel/smpboot.c:943: warning: label ‘restore_state’ defined
but not used
*
*
arch/x86/mm/pgtable.c: In function ‘pgd_mop_up_pmds’:
arch/x86/mm/pgtable.c:194: warning: unused variable ‘pmd’
CC      arch/x86/mm/pgtable_32.o
arch/x86/mm/pgtable_32.c:144: warning: ‘fixmaps’ defined but not used
*
*
kernel/sched.c:7743: warning: initialization from incompatible pointer
type
kernel/sched.c:7743: warning: initialization from incompatible pointer
type
*
*
sound/core/pcm_native.c: In function ‘snd_pcm_fasync’:
sound/core/pcm_native.c:3262: warning: label ‘out’ defined but not used
*
*
WARNING: modpost: Found 6 section mismatch(es).
*
*
RELOCS  arch/x86/boot/compressed/vmlinux.relocs
WARNING: Absolute relocations present
Offset     Info     Type     Sym.Value Sym.Name
c103405d 00807601   R_386_32 c1357371  __start_notes
c13627a8 0098e101   R_386_32 c14a5efc  __start___kcrctab
c13627bc 00984101   R_386_32 c14a5efc  __start___kcrctab_gpl
c13627c8 00797001   R_386_32 c14a5efc  __start___ksymtab_gpl_future
c13627cc 0082ba01   R_386_32 c14a5efc  __stop___ksymtab_gpl_future
c13627d0 00802801   R_386_32 c14a5efc  __start___kcrctab_gpl_future
c153c1fe 008e7401   R_386_32 c1357371  __stop_notes
c153c204 00807601   R_386_32 c1357371  __start_notes

Thanks & Regards
vibi sreenivasan