• Randy Dunlap's avatar
    [PATCH] procfs: fix printk arg type warning · 3fc0a6d3
    Randy Dunlap authored
    On sparc32 build, there is a printk format arg-type warning:
    fs/proc/proc_misc.c:195: warning: long unsigned int format, unsigned int arg (arg 23)
    
    I tried to fix it with a change to asm-sparc/vaddrs.h:
    -#define VMALLOC_START          0xfe600000
    +#define VMALLOC_START          0xfe600000UL
    -#define VMALLOC_END            0xffc00000
    +#define VMALLOC_END            0xffc00000UL
    
    but that won't fly because the #defines are used in asm code and asm doesn't
    like the UL suffixes (reported by Bill Irwin).
    Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    3fc0a6d3
proc_misc.c 16.3 KB