# git rev-parse -q --verify 61025c6f3ec49b9876c3b5ba9ad60d62ae8aed22^{commit} 61025c6f3ec49b9876c3b5ba9ad60d62ae8aed22 already have revision, skipping fetch # git checkout -q -f -B kisskb 61025c6f3ec49b9876c3b5ba9ad60d62ae8aed22 # git clean -qxdf # < git log -1 # commit 61025c6f3ec49b9876c3b5ba9ad60d62ae8aed22 # Author: Arnd Bergmann # Date: Tue Jan 23 13:51:42 2024 +0100 # # powerpc: 85xx: mark local functions static # # These functions are either used in only one file and can just be # makde static or need an #include statement to avoid a warning: # # arch/powerpc/platforms/85xx/mpc8536_ds.c:30:13: error: no previous prototype for 'mpc8536_ds_pic_init' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/p1010rdb.c:27:13: error: no previous prototype for 'p1010_rdb_pic_init' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/p1022_ds.c:373:6: error: no previous prototype for 'p1022ds_set_pixel_clock' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/p1022_ds.c:422:1: error: no previous prototype for 'p1022ds_valid_monitor_port' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/p1022_ds.c:435:13: error: no previous prototype for 'p1022_ds_pic_init' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/p1022_rdk.c:43:6: error: no previous prototype for 'p1022rdk_set_pixel_clock' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/p1022_rdk.c:92:1: error: no previous prototype for 'p1022rdk_valid_monitor_port' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/p1022_rdk.c:99:13: error: no previous prototype for 'p1022_rdk_pic_init' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/socrates_fpga_pic.c:273:13: error: no previous prototype for 'socrates_fpga_pic_init' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/xes_mpc85xx.c:40:13: error: no previous prototype for 'xes_mpc85xx_pic_init' [-Werror=missing-prototypes] # arch/powerpc/platforms/85xx/mvme2500.c:24:13: error: no previous prototype for 'mvme2500_pic_init' [-Werror=missing-prototypes] # # Signed-off-by: Arnd Bergmann # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20240123125148.2004648-2-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 61025c6f3ec49b9876c3b5ba9ad60d62ae8aed22 # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_warp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/warp_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_warp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_warp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_warp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/44x/warp.c:109:15: error: variable 'warp_gpio_leds' has initializer but incomplete type static struct platform_device warp_gpio_leds = { ^ /kisskb/src/arch/powerpc/platforms/44x/warp.c:110:2: error: unknown field 'name' specified in initializer .name = "leds-gpio", ^ /kisskb/src/arch/powerpc/platforms/44x/warp.c:110:10: error: excess elements in struct initializer [-Werror] .name = "leds-gpio", ^ /kisskb/src/arch/powerpc/platforms/44x/warp.c:110:10: note: (near initialization for 'warp_gpio_leds') /kisskb/src/arch/powerpc/platforms/44x/warp.c:111:2: error: unknown field 'id' specified in initializer .id = -1, ^ /kisskb/src/arch/powerpc/platforms/44x/warp.c:111:8: error: excess elements in struct initializer [-Werror] .id = -1, ^ /kisskb/src/arch/powerpc/platforms/44x/warp.c:111:8: note: (near initialization for 'warp_gpio_leds') /kisskb/src/arch/powerpc/platforms/44x/warp.c:112:2: error: unknown field 'dev' specified in initializer .dev = { ^ /kisskb/src/arch/powerpc/platforms/44x/warp.c:112:9: error: extra brace group at end of initializer .dev = { ^ /kisskb/src/arch/powerpc/platforms/44x/warp.c:112:9: note: (near initialization for 'warp_gpio_leds') /kisskb/src/arch/powerpc/platforms/44x/warp.c:112:9: error: excess elements in struct initializer [-Werror] /kisskb/src/arch/powerpc/platforms/44x/warp.c:112:9: note: (near initialization for 'warp_gpio_leds') /kisskb/src/arch/powerpc/platforms/44x/warp.c: In function 'pika_setup_leds': /kisskb/src/arch/powerpc/platforms/44x/warp.c:197:11: error: implicit declaration of function 'platform_device_register' [-Werror=implicit-function-declaration] error = platform_device_register(&warp_gpio_leds); ^ /kisskb/src/arch/powerpc/platforms/44x/warp.c: At top level: cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:243: arch/powerpc/platforms/44x/warp.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:481: arch/powerpc/platforms/44x] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:481: arch/powerpc/platforms] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:481: arch/powerpc] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:1921: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_warp_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/powerpc-next_44x_warp_defconfig_powerpc-gcc5 # Build took: 0:00:41.257027