# git rev-parse -q --verify f34e91e4be2fcc4b7bc1a97340a5a25ca032171c^{commit} f34e91e4be2fcc4b7bc1a97340a5a25ca032171c already have revision, skipping fetch # git checkout -q -f -B kisskb f34e91e4be2fcc4b7bc1a97340a5a25ca032171c # git clean -qxdf # < git log -1 # commit f34e91e4be2fcc4b7bc1a97340a5a25ca032171c # 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 # # 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 f34e91e4be2fcc4b7bc1a97340a5a25ca032171c # < make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_44x_bluestone_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/bluestone_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_44x_bluestone_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_44x_bluestone_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_44x_bluestone_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/4xx/uic.c: In function 'uic_host_map': /kisskb/src/arch/powerpc/platforms/4xx/uic.c:175:21: error: dereferencing pointer to incomplete type 'struct irq_domain' struct uic *uic = h->host_data; ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c: At top level: /kisskb/src/arch/powerpc/platforms/4xx/uic.c:188:21: error: variable 'uic_host_ops' has initializer but incomplete type static const struct irq_domain_ops uic_host_ops = { ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:189:2: error: unknown field 'map' specified in initializer .map = uic_host_map, ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:189:9: error: excess elements in struct initializer [-Werror] .map = uic_host_map, ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:189:9: note: (near initialization for 'uic_host_ops') /kisskb/src/arch/powerpc/platforms/4xx/uic.c:190:2: error: unknown field 'xlate' specified in initializer .xlate = irq_domain_xlate_twocell, ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:190:11: error: 'irq_domain_xlate_twocell' undeclared here (not in a function) .xlate = irq_domain_xlate_twocell, ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:190:11: error: excess elements in struct initializer [-Werror] /kisskb/src/arch/powerpc/platforms/4xx/uic.c:190:11: note: (near initialization for 'uic_host_ops') In file included from /kisskb/src/include/linux/kernel.h:20:0, from /kisskb/src/arch/powerpc/platforms/4xx/uic.c:9: /kisskb/src/arch/powerpc/platforms/4xx/uic.c: In function 'uic_init_one': /kisskb/src/arch/powerpc/platforms/4xx/uic.c:231:11: error: implicit declaration of function 'of_device_is_compatible' [-Werror=implicit-function-declaration] BUG_ON(! of_device_is_compatible(node, "ibm,uic")); ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:231:2: note: in expansion of macro 'BUG_ON' BUG_ON(! of_device_is_compatible(node, "ibm,uic")); ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:238:11: error: implicit declaration of function 'of_get_property' [-Werror=implicit-function-declaration] indexp = of_get_property(node, "cell-index", &len); ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:238:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] indexp = of_get_property(node, "cell-index", &len); ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:246:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] dcrreg = of_get_property(node, "dcr-reg", &len); ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:254:17: error: implicit declaration of function 'irq_domain_add_linear' [-Werror=implicit-function-declaration] uic->irqhost = irq_domain_add_linear(node, NR_UIC_INTS, &uic_host_ops, ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:254:15: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] uic->irqhost = irq_domain_add_linear(node, NR_UIC_INTS, &uic_host_ops, ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c: In function 'uic_init_tree': /kisskb/src/arch/powerpc/platforms/4xx/uic.c:279:2: error: implicit declaration of function 'for_each_compatible_node' [-Werror=implicit-function-declaration] for_each_compatible_node(np, NULL, "ibm,uic") { ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:279:48: error: expected ';' before '{' token for_each_compatible_node(np, NULL, "ibm,uic") { ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:291:2: error: implicit declaration of function 'irq_set_default_host' [-Werror=implicit-function-declaration] irq_set_default_host(primary_uic->irqhost); ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:292:2: error: implicit declaration of function 'of_node_put' [-Werror=implicit-function-declaration] of_node_put(np); ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:295:48: error: expected ';' before '{' token for_each_compatible_node(np, NULL, "ibm,uic") { ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:276:13: error: unused variable 'interrupts' [-Werror=unused-variable] const u32 *interrupts; ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c:275:14: error: unused variable 'uic' [-Werror=unused-variable] struct uic *uic; ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c: In function 'uic_get_irq': /kisskb/src/arch/powerpc/platforms/4xx/uic.c:327:9: error: implicit declaration of function 'irq_linear_revmap' [-Werror=implicit-function-declaration] return irq_linear_revmap(primary_uic->irqhost, src); ^ /kisskb/src/arch/powerpc/platforms/4xx/uic.c: At top level: /kisskb/src/arch/powerpc/platforms/4xx/uic.c:193:13: error: 'uic_irq_cascade' defined but not used [-Werror=unused-function] static void uic_irq_cascade(struct irq_desc *desc) ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/platforms/4xx/uic.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:550: arch/powerpc/platforms/4xx] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: arch/powerpc/platforms] Error 2 make[2]: *** Waiting for unfinished jobs.... 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 32 ARCH=powerpc O=/kisskb/build/chleroy_44x_bluestone_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_44x_bluestone_defconfig_powerpc-gcc5 # Build took: 0:00:18.979728