• Randy Dunlap's avatar
    x86_64: kill 19000+ sparse warnings · 63f6564d
    Randy Dunlap authored
    Eliminate 19439 (!!) sparse warnings like:
    include/linux/mm.h:321:22: warning: constant 0xffff810000000000 is so big it is unsigned long
    
    Eliminate 56 sparse warnings like:
    arch/x86_64/kernel/setup.c:248:16: warning: constant 0xffffffff80000000 is so big it is unsigned long
    
    Eliminate 5 sparse warnings like:
    arch/x86_64/kernel/module.c:49:13: warning: constant 0xfffffffffff00000 is so big it is unsigned long
    
    Eliminate 23 sparse warnings like:
    arch/x86_64/mm/init.c:551:37: warning: constant 0xffffc20000000000 is so big it is unsigned long
    
    Eliminate 6 sparse warnings like:
    arch/x86_64/kernel/module.c:49:13: warning: constant 0xffffffff88000000 is so big it is unsigned long
    
    Eliminate 23 sparse warnings like:
    arch/x86_64/mm/init.c:552:6: warning: constant 0xffffe1ffffffffff is so big it is unsigned long
    
    Eliminate 3 sparse warnings like:
    arch/x86_64/kernel/e820.c:186:17: warning: constant 0x3fffffffffff is so big it is long
    Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Cc: Andi Kleen <ak@suse.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    63f6564d
pgtable.h 15 KB