# 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_c2k_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- c2k_defconfig warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_c2k_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) /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/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:635:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1816:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1726:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x6b3e04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.16.0-rc4-gf6f5395 Created: Fri Mar 9 00:20:19 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3245706 Bytes = 3169.63 kB = 3.10 MB Load Address: 00700000 Entry Point: 007004fc Completed OK # rm -rf /kisskb/build/powerpc-next_c2k_defconfig_powerpc # Build took: 0:01:26.158036