# git rev-parse -q --verify 50f835e02dffa8e960f7eb56d7178219a65ef441^{commit} 50f835e02dffa8e960f7eb56d7178219a65ef441 already have revision, skipping fetch # git checkout -q -f -B kisskb 50f835e02dffa8e960f7eb56d7178219a65ef441 # git clean -qxdf # < git log -1 # commit 50f835e02dffa8e960f7eb56d7178219a65ef441 # Author: Christophe Leroy # Date: Fri Mar 4 09:45:24 2022 +0100 # # powerpc: Remove unnecessary inclusion of asm/prom.h tree-wide # # Remove all unnecessary includes of asm/prom.h # # In asm/drmem.h fix collateral errors due to not # including asm/prom.h in files using asm/drmem.h # # Signed-off-by: Christophe Leroy # < /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 50f835e02dffa8e960f7eb56d7178219a65ef441 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc7448_hpc2_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/sysdev/tsi108_dev.c: In function 'get_csrbase': /kisskb/src/arch/powerpc/sysdev/tsi108_dev.c:48:21: error: implicit declaration of function 'of_translate_address' [-Werror=implicit-function-declaration] tsi108_csr_base = of_translate_address(tsi, prop); ^ /kisskb/src/arch/powerpc/sysdev/tsi108_dev.c: In function 'tsi108_eth_of_init': /kisskb/src/arch/powerpc/sysdev/tsi108_dev.c:79:9: error: implicit declaration of function 'of_address_to_resource' [-Werror=implicit-function-declaration] ret = of_address_to_resource(np, 0, &r[0]); ^ /kisskb/src/arch/powerpc/sysdev/tsi108_dev.c:86:16: error: implicit declaration of function 'irq_of_parse_and_map' [-Werror=implicit-function-declaration] r[1].start = irq_of_parse_and_map(np, 0); ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/sysdev/tsi108_dev.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c: In function 'tsi108_setup_pci': /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:197:17: error: implicit declaration of function 'of_address_to_resource' [-Werror=implicit-function-declaration] has_address = (of_address_to_resource(dev, 0, &rsrc) == 0); ^ /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c: At top level: /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:384:21: error: variable 'pci_irq_domain_ops' has initializer but incomplete type static const struct irq_domain_ops pci_irq_domain_ops = { ^ /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:385:2: error: unknown field 'map' specified in initializer .map = pci_irq_host_map, ^ /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:385:9: error: excess elements in struct initializer [-Werror] .map = pci_irq_host_map, ^ /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:385:9: note: (near initialization for 'pci_irq_domain_ops') /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:386:2: error: unknown field 'xlate' specified in initializer .xlate = pci_irq_host_xlate, ^ /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:386:11: error: excess elements in struct initializer [-Werror] .xlate = pci_irq_host_xlate, ^ /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:386:11: note: (near initialization for 'pci_irq_domain_ops') /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c: In function 'tsi108_pci_int_init': /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:406:17: error: implicit declaration of function 'irq_domain_add_legacy' [-Werror=implicit-function-declaration] pci_irq_host = irq_domain_add_legacy(node, NR_IRQS_LEGACY, 0, 0, ^ /kisskb/src/arch/powerpc/sysdev/tsi108_pci.c:406:15: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] pci_irq_host = irq_domain_add_legacy(node, NR_IRQS_LEGACY, 0, 0, ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/sysdev/tsi108_pci.o] Error 1 /kisskb/src/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c: In function 'mpc7448_hpc2_init_IRQ': /kisskb/src/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c:131:20: error: implicit declaration of function 'irq_of_parse_and_map' [-Werror=implicit-function-declaration] cascade_pci_irq = irq_of_parse_and_map(tsi_pci, 0); ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:550: arch/powerpc/platforms/embedded6xx] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: arch/powerpc/platforms] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: arch/powerpc/sysdev] Error 2 make[1]: *** [/kisskb/src/Makefile:1831: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/chleroy_mpc7448_hpc2_defconfig_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/chleroy_mpc7448_hpc2_defconfig_powerpc-gcc5 # Build took: 0:00:47.369508