========== build_clang - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/bpf/verifier.c:3278:1: error: invalid storage class specifier in function declarator 3278 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ ../kernel/bpf/verifier.c:3278:12: error: parameter named 'magic_kfunc_by_impl' is missing 3278 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ ../kernel/bpf/verifier.c:3278:49: error: expected ';' at end of declaration 3278 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ | ; ../kernel/bpf/verifier.c:3276:17: error: parameter 'magic_kfuncs' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^ 3277 | 3278 | static s32 magic_kfunc_by_impl(s32 impl_func_id) 3279 | { ../kernel/bpf/verifier.c:3276:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^ | int ../kernel/bpf/verifier.c:3282:18: error: call to undeclared function 'BTF_ID_LIST_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3282 | for (i = 1; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ^ ../kernel/bpf/verifier.c:3282:18: note: did you mean 'BTF_ID_LIST_END'? ../kernel/bpf/verifier.c:3276:1: note: 'BTF_ID_LIST_END' declared here 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^ 3277 | 3278 | static s32 magic_kfunc_by_impl(s32 impl_func_id) 3279 | { 3280 | int i; 3281 | 3282 | for (i = 1; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ~~~~~~~~~~~~~~~~ | BTF_ID_LIST_END ../kernel/bpf/verifier.c:3283:19: error: subscripted value is not an array, pointer, or vector 3283 | if (magic_kfuncs[i] == impl_func_id) | ~~~~~~~~~~~~^~ ../kernel/bpf/verifier.c:3283:26: error: use of undeclared identifier 'impl_func_id' 3283 | if (magic_kfuncs[i] == impl_func_id) | ^ ../kernel/bpf/verifier.c:3284:23: error: subscripted value is not an array, pointer, or vector 3284 | return magic_kfuncs[i - 1]; | ~~~~~~~~~~~~^~~~~~ ../kernel/bpf/verifier.c:3276:1: warning: no previous prototype for function 'BTF_ID_LIST_END' [-Wmissing-prototypes] 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^ ../kernel/bpf/verifier.c:3276:16: note: declare 'static' if the function is not intended to be used outside of this translation unit 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^ | static ../kernel/bpf/verifier.c:3276:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype] 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^ ../kernel/bpf/verifier.c:3293:18: error: call to undeclared function 'BTF_ID_LIST_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3293 | for (i = 0; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ^ ../kernel/bpf/verifier.c:3414:17: error: call to undeclared function 'magic_kfunc_by_impl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3414 | tmp_func_id = magic_kfunc_by_impl(func_id); | ^ ../kernel/bpf/verifier.c:13750:17: error: call to undeclared function 'magic_kfunc_by_impl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13750 | tmp_func_id = magic_kfunc_by_impl(func_id); | ^ 1 warning and 13 errors generated. make[5]: *** [../scripts/Makefile.build:287: kernel/bpf/verifier.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:556: kernel/bpf] Error 2 make[3]: *** [../scripts/Makefile.build:556: kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/bpf/verifier.c:3280:1: error: invalid storage class specifier in function declarator 3280 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ ../kernel/bpf/verifier.c:3280:12: error: parameter named 'magic_kfunc_by_impl' is missing 3280 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ ../kernel/bpf/verifier.c:3280:49: error: expected ';' at end of declaration 3280 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ | ; ../kernel/bpf/verifier.c:3278:17: error: parameter 'magic_kfuncs' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^ 3279 | 3280 | static s32 magic_kfunc_by_impl(s32 impl_func_id) 3281 | { ../kernel/bpf/verifier.c:3278:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^ | int ../kernel/bpf/verifier.c:3284:18: error: call to undeclared function 'BTF_ID_LIST_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3284 | for (i = 1; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ^ ../kernel/bpf/verifier.c:3284:18: note: did you mean 'BTF_ID_LIST_END'? ../kernel/bpf/verifier.c:3278:1: note: 'BTF_ID_LIST_END' declared here 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^ 3279 | 3280 | static s32 magic_kfunc_by_impl(s32 impl_func_id) 3281 | { 3282 | int i; 3283 | 3284 | for (i = 1; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ~~~~~~~~~~~~~~~~ | BTF_ID_LIST_END ../kernel/bpf/verifier.c:3285:19: error: subscripted value is not an array, pointer, or vector 3285 | if (magic_kfuncs[i] == impl_func_id) | ~~~~~~~~~~~~^~ ../kernel/bpf/verifier.c:3285:26: error: use of undeclared identifier 'impl_func_id' 3285 | if (magic_kfuncs[i] == impl_func_id) | ^ ../kernel/bpf/verifier.c:3286:23: error: subscripted value is not an array, pointer, or vector 3286 | return magic_kfuncs[i - 1]; | ~~~~~~~~~~~~^~~~~~ ../kernel/bpf/verifier.c:3278:1: warning: no previous prototype for function 'BTF_ID_LIST_END' [-Wmissing-prototypes] 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^ ../kernel/bpf/verifier.c:3278:16: note: declare 'static' if the function is not intended to be used outside of this translation unit 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^ | static ../kernel/bpf/verifier.c:3278:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype] 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^ ../kernel/bpf/verifier.c:3295:18: error: call to undeclared function 'BTF_ID_LIST_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3295 | for (i = 0; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ^ ../kernel/bpf/verifier.c:3416:17: error: call to undeclared function 'magic_kfunc_by_impl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3416 | tmp_func_id = magic_kfunc_by_impl(func_id); | ^ ../kernel/bpf/verifier.c:13752:17: error: call to undeclared function 'magic_kfunc_by_impl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13752 | tmp_func_id = magic_kfunc_by_impl(func_id); | ^ 1 warning and 13 errors generated. make[5]: *** [../scripts/Makefile.build:287: kernel/bpf/verifier.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:556: kernel/bpf] Error 2 make[3]: *** [../scripts/Makefile.build:556: kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2