# git rev-parse -q --verify fcf5036f09694d09d946c0455f329894a6482a4d^{commit} fcf5036f09694d09d946c0455f329894a6482a4d already have revision, skipping fetch # git checkout -q -f -B kisskb fcf5036f09694d09d946c0455f329894a6482a4d # git clean -qxdf # < git log -1 # commit fcf5036f09694d09d946c0455f329894a6482a4d # Author: Michael Ellerman # Date: Fri Jan 11 23:53:46 2019 +1100 # # powerpc/4xx/ocm: Fix fix for phys_addr_t printf warnings # # My recent commit to fix the printf warnings in ocm.c got the format # specifier wrong, because I copied it from the documentation without # realising the square brackets are not meant as literals. # # This results in the address being suffixed with a literal "[p]". # # Actually tested this time: # # # cat info /sys/kernel/debug/ppc4xx_ocm # PhysAddr : 0x0000000400040000 # ... # NC.PhysAddr : 0x0000000400040000 # ... # C.PhysAddr : 0x0000000000000000 # # Fixes: 52b88fa1e8c7 ("powerpc/4xx/ocm: Fix phys_addr_t printf warnings") # Reported-by: Christian Lamparter # Tested-by: Christian Lamparter # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 fcf5036f09694d09d946c0455f329894a6482a4d # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xBAA334D4 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:67:0: /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc': /kisskb/src/arch/powerpc/xmon/dis-asm.h:20:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ^ /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu': /kisskb/src/arch/powerpc/xmon/dis-asm.h:26:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ^ Completed OK # rm -rf /kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc5 # Build took: 0:02:39.117584