Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/bpf/verifier.c:3273:1: error: invalid storage class specifier in function declarator 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ ../kernel/bpf/verifier.c:3273:12: error: parameter named 'magic_kfunc_by_impl' is missing 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ ../kernel/bpf/verifier.c:3273:49: error: expected ';' at end of declaration 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ | ; ../kernel/bpf/verifier.c:3271:17: error: parameter 'magic_kfuncs' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ 3272 | 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) 3274 | { ../kernel/bpf/verifier.c:3271:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ | int ../kernel/bpf/verifier.c:3277:18: error: call to undeclared function 'BTF_ID_LIST_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3277 | for (i = 1; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ^ ../kernel/bpf/verifier.c:3277:18: note: did you mean 'BTF_ID_LIST_END'? ../kernel/bpf/verifier.c:3271:1: note: 'BTF_ID_LIST_END' declared here 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ 3272 | 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) 3274 | { 3275 | int i; 3276 | 3277 | for (i = 1; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ~~~~~~~~~~~~~~~~ | BTF_ID_LIST_END ../kernel/bpf/verifier.c:3278:19: error: subscripted value is not an array, pointer, or vector 3278 | if (magic_kfuncs[i] == impl_func_id) | ~~~~~~~~~~~~^~ ../kernel/bpf/verifier.c:3278:26: error: use of undeclared identifier 'impl_func_id' 3278 | if (magic_kfuncs[i] == impl_func_id) | ^ ../kernel/bpf/verifier.c:3279:23: error: subscripted value is not an array, pointer, or vector 3279 | return magic_kfuncs[i - 1]; | ~~~~~~~~~~~~^~~~~~ ../kernel/bpf/verifier.c:3271:1: warning: no previous prototype for function 'BTF_ID_LIST_END' [-Wmissing-prototypes] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ ../kernel/bpf/verifier.c:3271:16: note: declare 'static' if the function is not intended to be used outside of this translation unit 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ | static ../kernel/bpf/verifier.c:3271: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] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ ../kernel/bpf/verifier.c:3288:18: error: call to undeclared function 'BTF_ID_LIST_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3288 | for (i = 0; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ^ ../kernel/bpf/verifier.c:3409:17: error: call to undeclared function 'magic_kfunc_by_impl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3409 | tmp_func_id = magic_kfunc_by_impl(func_id); | ^ ../kernel/bpf/verifier.c:13726:17: error: call to undeclared function 'magic_kfunc_by_impl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13726 | 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[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:556: kernel] Error 2 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:3273:1: error: invalid storage class specifier in function declarator 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ ../kernel/bpf/verifier.c:3273:12: error: parameter named 'magic_kfunc_by_impl' is missing 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ ../kernel/bpf/verifier.c:3273:49: error: expected ';' at end of declaration 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) | ^ | ; ../kernel/bpf/verifier.c:3271:17: error: parameter 'magic_kfuncs' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ 3272 | 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) 3274 | { ../kernel/bpf/verifier.c:3271:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ | int ../kernel/bpf/verifier.c:3277:18: error: call to undeclared function 'BTF_ID_LIST_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3277 | for (i = 1; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ^ ../kernel/bpf/verifier.c:3277:18: note: did you mean 'BTF_ID_LIST_END'? ../kernel/bpf/verifier.c:3271:1: note: 'BTF_ID_LIST_END' declared here 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ 3272 | 3273 | static s32 magic_kfunc_by_impl(s32 impl_func_id) 3274 | { 3275 | int i; 3276 | 3277 | for (i = 1; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ~~~~~~~~~~~~~~~~ | BTF_ID_LIST_END ../kernel/bpf/verifier.c:3278:19: error: subscripted value is not an array, pointer, or vector 3278 | if (magic_kfuncs[i] == impl_func_id) | ~~~~~~~~~~~~^~ ../kernel/bpf/verifier.c:3278:26: error: use of undeclared identifier 'impl_func_id' 3278 | if (magic_kfuncs[i] == impl_func_id) | ^ ../kernel/bpf/verifier.c:3279:23: error: subscripted value is not an array, pointer, or vector 3279 | return magic_kfuncs[i - 1]; | ~~~~~~~~~~~~^~~~~~ ../kernel/bpf/verifier.c:3271:1: warning: no previous prototype for function 'BTF_ID_LIST_END' [-Wmissing-prototypes] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ ../kernel/bpf/verifier.c:3271:16: note: declare 'static' if the function is not intended to be used outside of this translation unit 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ | static ../kernel/bpf/verifier.c:3271: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] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^ ../kernel/bpf/verifier.c:3288:18: error: call to undeclared function 'BTF_ID_LIST_SIZE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3288 | for (i = 0; i < BTF_ID_LIST_SIZE(magic_kfuncs); i += 2) { | ^ ../kernel/bpf/verifier.c:3409:17: error: call to undeclared function 'magic_kfunc_by_impl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3409 | tmp_func_id = magic_kfunc_by_impl(func_id); | ^ ../kernel/bpf/verifier.c:13736:17: error: call to undeclared function 'magic_kfunc_by_impl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13736 | 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[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