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