# 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 120 ARCH=powerpc O=/kisskb/build/chleroy_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_MPIC=y # < make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4343:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/iommu/fsl_pamu.c: In function 'create_csd': /kisskb/src/drivers/iommu/fsl_pamu.c:609:8: error: implicit declaration of function 'of_iomap' [-Werror=implicit-function-declaration] lac = of_iomap(np, 0); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:609:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] lac = of_iomap(np, 0); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:638:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ccm = of_iomap(np, 0); ^ /kisskb/src/drivers/iommu/fsl_pamu.c: At top level: /kisskb/src/drivers/iommu/fsl_pamu.c:740:34: warning: 'struct platform_device' declared inside parameter list static int fsl_pamu_probe(struct platform_device *pdev) ^ /kisskb/src/drivers/iommu/fsl_pamu.c:740:34: warning: its scope is only this definition or declaration, which is probably not what you want /kisskb/src/drivers/iommu/fsl_pamu.c: In function 'fsl_pamu_probe': /kisskb/src/drivers/iommu/fsl_pamu.c:742:28: error: dereferencing pointer to incomplete type 'struct platform_device' struct device *dev = &pdev->dev; ^ /kisskb/src/drivers/iommu/fsl_pamu.c:771:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pamu_regs = of_iomap(dev->of_node, 0); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:776:2: error: implicit declaration of function 'of_get_address' [-Werror=implicit-function-declaration] of_get_address(dev->of_node, 0, &size, NULL); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:778:8: error: implicit declaration of function 'irq_of_parse_and_map' [-Werror=implicit-function-declaration] irq = irq_of_parse_and_map(dev->of_node, 0); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:806:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] guts_regs = of_iomap(guts_node, 0); ^ /kisskb/src/drivers/iommu/fsl_pamu.c: At top level: /kisskb/src/drivers/iommu/fsl_pamu.c:922:15: error: variable 'fsl_of_pamu_driver' has initializer but incomplete type static struct platform_driver fsl_of_pamu_driver = { ^ /kisskb/src/drivers/iommu/fsl_pamu.c:923:2: error: unknown field 'driver' specified in initializer .driver = { ^ /kisskb/src/drivers/iommu/fsl_pamu.c:923:12: error: extra brace group at end of initializer .driver = { ^ /kisskb/src/drivers/iommu/fsl_pamu.c:923:12: note: (near initialization for 'fsl_of_pamu_driver') /kisskb/src/drivers/iommu/fsl_pamu.c:923:12: warning: excess elements in struct initializer /kisskb/src/drivers/iommu/fsl_pamu.c:923:12: note: (near initialization for 'fsl_of_pamu_driver') /kisskb/src/drivers/iommu/fsl_pamu.c:926:2: error: unknown field 'probe' specified in initializer .probe = fsl_pamu_probe, ^ /kisskb/src/drivers/iommu/fsl_pamu.c:926:11: warning: excess elements in struct initializer .probe = fsl_pamu_probe, ^ /kisskb/src/drivers/iommu/fsl_pamu.c:926:11: note: (near initialization for 'fsl_of_pamu_driver') /kisskb/src/drivers/iommu/fsl_pamu.c: In function 'fsl_pamu_init': /kisskb/src/drivers/iommu/fsl_pamu.c:960:8: error: implicit declaration of function 'platform_driver_register' [-Werror=implicit-function-declaration] ret = platform_driver_register(&fsl_of_pamu_driver); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:966:9: error: implicit declaration of function 'platform_device_alloc' [-Werror=implicit-function-declaration] pdev = platform_device_alloc("fsl-of-pamu", 0); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:966:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pdev = platform_device_alloc("fsl-of-pamu", 0); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:972:6: error: dereferencing pointer to incomplete type 'struct platform_device' pdev->dev.of_node = of_node_get(np); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:978:8: error: implicit declaration of function 'platform_device_add' [-Werror=implicit-function-declaration] ret = platform_device_add(pdev); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:990:2: error: implicit declaration of function 'platform_device_put' [-Werror=implicit-function-declaration] platform_device_put(pdev); ^ /kisskb/src/drivers/iommu/fsl_pamu.c:993:2: error: implicit declaration of function 'platform_driver_unregister' [-Werror=implicit-function-declaration] platform_driver_unregister(&fsl_of_pamu_driver); ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:288: drivers/iommu/fsl_pamu.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/iommu] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1831: drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_corenet64_smp_defconfig+KVM_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_corenet64_smp_defconfig+KVM_powerpc-gcc5 # Build took: 0:00:42.587261