• Arnd Bergmann's avatar
    [PATCH] powerpc: fix two build warnings · 021c7335
    Arnd Bergmann authored
    Building the arch/powerpc tree currently gives me
    two warnings with gcc-4.0:
    
    arch/powerpc/mm/imalloc.c: In function '__im_get_area':
    arch/powerpc/mm/imalloc.c:225: warning: 'tmp' may be used uninitialized in this function
    arch/powerpc/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area':
    arch/powerpc/mm/hugetlbpage.c:608: warning: unused variable 'vma'
    
    both fixes are trivial.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    021c7335
imalloc.c 7.97 KB