• Olof Johansson's avatar
    [POWERPC] Fix build break in arch/ppc/syslib/m8260_setup.c · bdd71eec
    Olof Johansson authored
    Fix build break and warnings in current mainline git:
    
    arch/ppc/syslib/m8260_setup.c: In function 'm8260_setup_arch':
    arch/ppc/syslib/m8260_setup.c:63: error: implicit declaration of function 'identify_ppc_sys_by_name_and_id'
    arch/ppc/syslib/m8260_setup.c:64: warning: passing argument 1 of 'in_be32' makes pointer from integer without a cast
    arch/ppc/syslib/m8260_setup.c: In function 'm8260_show_cpuinfo':
    arch/ppc/syslib/m8260_setup.c:158: warning: format '%08x' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
    arch/ppc/syslib/m8260_setup.c:158: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int'
    arch/ppc/syslib/m8260_setup.c:158: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long unsigned int'
    arch/ppc/syslib/m8260_setup.c:158: warning: format '%u' expects type 'unsigned int', but argument 8 has type 'long unsigned int'
    arch/ppc/syslib/m8260_setup.c:158: warning: format '%u' expects type 'unsigned int', but argument 9 has type 'long unsigned int'
    make[1]: *** [arch/ppc/syslib/m8260_setup.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    bdd71eec
m8260_setup.c 6.41 KB