# git rev-parse -q --verify 520559dd73419db3d2bd53d9a6d292c465fa8a88^{commit} 520559dd73419db3d2bd53d9a6d292c465fa8a88 already have revision, skipping fetch # git checkout -q -f -B kisskb 520559dd73419db3d2bd53d9a6d292c465fa8a88 # git clean -qxdf # < git log -1 # commit 520559dd73419db3d2bd53d9a6d292c465fa8a88 # Author: Arnd Bergmann # Date: Wed Nov 8 13:58:40 2023 +0100 # # powerpc/powermac: mark smp_psurge_{give,take}_timebase static # # These functions are only called locally and should be static like the # other corresponding functions are: # # arch/powerpc/platforms/powermac/smp.c:416:13: error: no previous prototype for 'smp_psurge_take_timebase' [-Werror=missing-prototypes] # 416 | void __init smp_psurge_take_timebase(void) # | ^~~~~~~~~~~~~~~~~~~~~~~~ # arch/powerpc/platforms/powermac/smp.c:432:13: error: no previous prototype for 'smp_psurge_give_timebase' [-Werror=missing-prototypes] # 432 | void __init smp_psurge_give_timebase(void) # | ^~~~~~~~~~~~~~~~~~~~~~~~ # # Signed-off-by: Arnd Bergmann # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20231108125843.3806765-20-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 520559dd73419db3d2bd53d9a6d292c465fa8a88 # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/fsp2_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_fsp2_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_fsp2_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_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_new': /kisskb/src/kernel/bpf/task_iter.c:917:7: error: 'CSS_TASK_ITER_PROCS' undeclared (first use in this function) case CSS_TASK_ITER_PROCS | CSS_TASK_ITER_THREADED: ^ /kisskb/src/kernel/bpf/task_iter.c:917:7: note: each undeclared identifier is reported only once for each function it appears in /kisskb/src/kernel/bpf/task_iter.c:917:29: error: 'CSS_TASK_ITER_THREADED' undeclared (first use in this function) case CSS_TASK_ITER_PROCS | CSS_TASK_ITER_THREADED: ^ /kisskb/src/kernel/bpf/task_iter.c:925:53: error: invalid application of 'sizeof' to incomplete type 'struct css_task_iter' kit->css_it = bpf_mem_alloc(&bpf_global_ma, sizeof(struct css_task_iter)); ^ /kisskb/src/kernel/bpf/task_iter.c:928:2: error: implicit declaration of function 'css_task_iter_start' [-Werror=implicit-function-declaration] css_task_iter_start(css, flags, kit->css_it); ^ /kisskb/src/kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_next': /kisskb/src/kernel/bpf/task_iter.c:938:9: error: implicit declaration of function 'css_task_iter_next' [-Werror=implicit-function-declaration] return css_task_iter_next(kit->css_it); ^ /kisskb/src/kernel/bpf/task_iter.c:938:9: warning: return makes pointer from integer without a cast [-Wint-conversion] /kisskb/src/kernel/bpf/task_iter.c: In function 'bpf_iter_css_task_destroy': /kisskb/src/kernel/bpf/task_iter.c:947:2: error: implicit declaration of function 'css_task_iter_end' [-Werror=implicit-function-declaration] css_task_iter_end(kit->css_it); ^ /kisskb/src/kernel/bpf/task_iter.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: some warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:243: kernel/bpf/task_iter.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:480: kernel/bpf] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:480: kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:1913: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_fsp2_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_fsp2_defconfig_powerpc-gcc5 # Build took: 0:01:01.156385