# git rev-parse -q --verify d6582c259cbf4d8ba894e7243f31f26e7c6ff387^{commit} d6582c259cbf4d8ba894e7243f31f26e7c6ff387 already have revision, skipping fetch # git checkout -q -f -B kisskb d6582c259cbf4d8ba894e7243f31f26e7c6ff387 # git clean -qxdf # < git log -1 # commit d6582c259cbf4d8ba894e7243f31f26e7c6ff387 # Author: Arnd Bergmann # Date: Thu Jul 27 14:26:50 2023 +0200 # # powerpc: address missing-prototypes warnings # # There are a few warnings in powerpc64 defconfig builds after -Wmissing-prototypes # gets promoted from W=1 to the default warning set: # # arch/powerpc/mm/book3s64/pgtable.c:422:6: error: no previous prototype for 'arch_report_meminfo' [-Werror=missing-prototypes] # arch/powerpc/platforms/cell/ras.c:275:5: error: no previous prototype for 'cbe_sysreset_hack' [-Werror=missing-prototypes] # arch/powerpc/platforms/cell/spu_manage.c:29:21: error: no previous prototype for 'spu_devnode' [-Werror=missing-prototypes] # arch/powerpc/platforms/pasemi/time.c:12:17: error: no previous prototype for 'pas_get_boot_time' [-Werror=missing-prototypes] # arch/powerpc/platforms/powermac/feature.c:1532:13: error: no previous prototype for 'g5_phy_disable_cpu1' [-Werror=missing-prototypes] # arch/powerpc/platforms/86xx/pic.c:28:13: error: no previous prototype for 'mpc86xx_init_irq' [-Werror=missing-prototypes] # drivers/pci/pci-sysfs.c:936:13: error: no previous prototype for 'pci_adjust_legacy_attr' [-Werror=missing-prototypes] # # Address these by including the right header files or marking the # functions static. The audit.c one is a bit tricky since compat_audit.h # cannot include regular kernel headers tht have conflicting types on # 32-bit powerpc. # # Signed-off-by: Arnd Bergmann # [mpe: Drop change to __vmemmap_free() which only exists in mm] # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20230727122720.2558065-1-arnd@kernel.org # < /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 d6582c259cbf4d8ba894e7243f31f26e7c6ff387 # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # Added to kconfig CONFIG_SMP=n # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_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/include/asm/percpu.h:20:0, from /kisskb/src/arch/powerpc/include/asm/mmu.h:148, from /kisskb/src/arch/powerpc/include/asm/nohash/kup-booke.h:6, from /kisskb/src/arch/powerpc/include/asm/kup.h:24, from /kisskb/src/arch/powerpc/mm/nohash/kup.c:11: /kisskb/src/arch/powerpc/include/asm/paca.h:155:23: error: field 'tcd' has incomplete type struct tlb_core_data tcd; ^ /kisskb/src/arch/powerpc/include/asm/paca.h:291:36: error: 'struct mm_struct' declared inside parameter list [-Werror] extern void copy_mm_to_paca(struct mm_struct *mm); ^ /kisskb/src/arch/powerpc/include/asm/paca.h:291:36: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:243: arch/powerpc/mm/nohash/kup.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:477: arch/powerpc/mm/nohash] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:477: arch/powerpc/mm] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:477: arch/powerpc] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:2020: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 # Build took: 0:00:53.331801