# git rev-parse -q --verify f6f5395c530b7f51832256362a3e2dcec968ef1e^{commit} f6f5395c530b7f51832256362a3e2dcec968ef1e already have revision, skipping fetch # git checkout -q -f -B kisskb f6f5395c530b7f51832256362a3e2dcec968ef1e # git clean -qxdf # git log -1 commit f6f5395c530b7f51832256362a3e2dcec968ef1e Author: Mathieu Malaterre Date: Thu Mar 8 22:31:59 2018 +1100 powerpc/32: Add missing prototypes for (early|machine)_init() early_init() and machine_init() have no prototype, add one in asm-prototypes.h. Fixes the following warnings (treated as error in W=1): arch/powerpc/kernel/setup_32.c:68:30: error: no previous prototype for ‘early_init’ arch/powerpc/kernel/setup_32.c:99:21: error: no previous prototype for ‘machine_init’ Signed-off-by: Mathieu Malaterre [mpe: Move them to asm-prototypes.h, drop other functions] Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 f6f5395c530b7f51832256362a3e2dcec968ef1e # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_holly_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- holly_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_holly_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/xmon/xmon.c:906:13: error: 'clear_all_bpt' defined but not used [-Werror=unused-function] static void clear_all_bpt(void) ^ cc1: all warnings being treated as errors /kisskb/src/scripts/Makefile.build:324: recipe for target 'arch/powerpc/xmon/xmon.o' failed make[2]: *** [arch/powerpc/xmon/xmon.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/Makefile:1051: recipe for target 'arch/powerpc/xmon' failed make[1]: *** [arch/powerpc/xmon] Error 2 make[1]: *** Waiting for unfinished jobs.... Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_holly_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_holly_defconfig_powerpc-5.3 # Build took: 0:00:40.473217