• S
    powerpc/mm: Fix hash_utils_64.c compile errors with DEBUG enabled. · 5c339919
    Sachin P. Sant 提交于
    This time without the funny characters.
    
    Fix following build errors generated with DEBUG=1
    
    cc1: warnings being treated as errors
    arch/powerpc/mm/hash_utils_64.c: In function 'htab_dt_scan_page_sizes':
    arch/powerpc/mm/hash_utils_64.c:343: error: format '%04x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
    arch/powerpc/mm/hash_utils_64.c:343: error: format '%08x' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
    arch/powerpc/mm/hash_utils_64.c: In function 'htab_initialize':
    arch/powerpc/mm/hash_utils_64.c:666: error: format '%x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
    ... SNIP ...
    Signed-off-by: NSachin Sant <sachinp@in.ibm.com>
    Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    5c339919
hash_utils_64.c 32.2 KB