# 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 120 ARCH=powerpc O=/kisskb/build/chleroy_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_mpc85xx_defconfig_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_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/85xx/mpc85xx_cds.c: In function 'mpc85xx_cds_8259_attach': /kisskb/src/arch/powerpc/platforms/85xx/mpc85xx_cds.c:252:16: error: implicit declaration of function 'irq_of_parse_and_map' [-Werror=implicit-function-declaration] cascade_irq = irq_of_parse_and_map(cascade_node, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/mpc85xx_cds.c: In function 'mpc85xx_cds_setup_arch': /kisskb/src/arch/powerpc/platforms/85xx/mpc85xx_cds.c:328:11: error: implicit declaration of function 'of_iomap' [-Werror=implicit-function-declaration] cadmus = of_iomap(np, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/mpc85xx_cds.c:328:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] cadmus = of_iomap(np, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/mpc85xx_ds.c: In function 'mpc85xx_ds_pic_init': /kisskb/src/arch/powerpc/platforms/85xx/mpc85xx_ds.c:93:16: error: implicit declaration of function 'irq_of_parse_and_map' [-Werror=implicit-function-declaration] cascade_irq = irq_of_parse_and_map(cascade_node, 0); ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/platforms/85xx/mpc85xx_ds.o] Error 1 make[4]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors /kisskb/src/arch/powerpc/platforms/85xx/p1022_ds.c: In function 'p1022ds_set_monitor_port': /kisskb/src/arch/powerpc/platforms/85xx/p1022_ds.c:186:9: error: implicit declaration of function 'of_iomap' [-Werror=implicit-function-declaration] guts = of_iomap(guts_node, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/p1022_ds.c:186:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] guts = of_iomap(guts_node, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/p1022_ds.c:198:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] lbc = of_iomap(lbc_node, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/p1022_ds.c:210:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] ecm = of_iomap(law_node, 0); ^ make[4]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/platforms/85xx/mpc85xx_cds.o] Error 1 /kisskb/src/arch/powerpc/platforms/85xx/p1022_ds.c:301:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] pixis = of_iomap(pixis_node, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/p1022_ds.c: In function 'p1022ds_set_pixel_clock': /kisskb/src/arch/powerpc/platforms/85xx/p1022_ds.c:387:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] guts = of_iomap(guts_np, 0); ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/platforms/85xx/p1022_ds.o] Error 1 /kisskb/src/arch/powerpc/platforms/85xx/p1022_rdk.c: In function 'p1022rdk_set_pixel_clock': /kisskb/src/arch/powerpc/platforms/85xx/p1022_rdk.c:57:9: error: implicit declaration of function 'of_iomap' [-Werror=implicit-function-declaration] guts = of_iomap(guts_np, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/p1022_rdk.c:57:7: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] guts = of_iomap(guts_np, 0); ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/platforms/85xx/p1022_rdk.o] Error 1 /kisskb/src/arch/powerpc/platforms/85xx/p1023_rdb.c: In function 'mpc85xx_rdb_setup_arch': /kisskb/src/arch/powerpc/platforms/85xx/p1023_rdb.c:51:15: error: implicit declaration of function 'of_iomap' [-Werror=implicit-function-declaration] bcsr_regs = of_iomap(np, 0); ^ /kisskb/src/arch/powerpc/platforms/85xx/p1023_rdb.c:51:13: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] bcsr_regs = of_iomap(np, 0); ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: arch/powerpc/platforms/85xx/p1023_rdb.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:550: arch/powerpc/platforms/85xx] Error 2 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.... In file included from /kisskb/src/include/linux/build_bug.h:5:0, from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_mpc85xx_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_mpc85xx_defconfig_powerpc-gcc5 # Build took: 0:00:41.029370