# 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-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 f6f5395c530b7f51832256362a3e2dcec968ef1e # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_holly_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- holly_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_holly_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/arch/powerpc/xmon/xmon.c:906:13: error: 'clear_all_bpt' defined but not used [-Werror=unused-function] 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.... /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_holly_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_holly_defconfig_powerpc # Build took: 0:00:21.787815