../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:377:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 377 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:433:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 433 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:475:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 475 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/bpf/bpf_local_storage.c: In function ‘bpf_local_storage_destroy’: ../kernel/bpf/bpf_local_storage.c:778:13: warning: unused variable ‘err’ [-Wunused-variable] 778 | int err; | ^~~ ../kernel/bpf/bpf_local_storage.c: In function ‘bpf_selem_unlink’: ../kernel/bpf/bpf_local_storage.c:447:17: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 447 | return; | ^~~~~~ ../kernel/bpf/bpf_local_storage.c:436:5: note: declared here 436 | int bpf_selem_unlink(struct bpf_local_storage_elem *selem, bool reuse_now) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/bpf_local_storage.c: In function ‘bpf_local_storage_destroy’: ../kernel/bpf/bpf_local_storage.c:780:13: warning: unused variable ‘err’ [-Wunused-variable] 780 | int err; | ^~~ make[5]: *** [../scripts/Makefile.build:287: kernel/bpf/bpf_local_storage.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:377:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 377 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:433:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 433 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:475:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 475 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ 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:2011: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.PxDlWtUdih 2025-10-02 16:24:20.783312153 -0700 +++ /tmp/tmp.j6c64rmC1w 2025-10-02 16:24:41.654595871 -0700 @@ -0,0 +1,13 @@ +../kernel/bpf/bpf_local_storage.c: In function ‘bpf_selem_unlink’: +../kernel/bpf/bpf_local_storage.c:447:17: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] + 447 | return; + | ^~~~~~ +../kernel/bpf/bpf_local_storage.c:436:5: note: declared here + 436 | int bpf_selem_unlink(struct bpf_local_storage_elem *selem, bool reuse_now) + | ^~~~~~~~~~~~~~~~ +../kernel/bpf/bpf_local_storage.c: In function ‘bpf_local_storage_destroy’: +../kernel/bpf/bpf_local_storage.c:780:13: warning: unused variable ‘err’ [-Wunused-variable] + 780 | int err; + | ^~~ +make[5]: *** [../scripts/Makefile.build:287: kernel/bpf/bpf_local_storage.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -13,4 +26,6 @@ -../kernel/bpf/bpf_local_storage.c: In function ‘bpf_local_storage_destroy’: -../kernel/bpf/bpf_local_storage.c:778:13: warning: unused variable ‘err’ [-Wunused-variable] - 778 | int err; - | ^~~ +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:2011: .] Error 2 +make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.Bj5MKhLfST 2025-10-02 16:24:41.662748177 -0700 +++ /tmp/tmp.mvzdNVhCZU 2025-10-02 16:24:41.665748157 -0700 @@ -1 +1 @@ - 1 ../kernel/bpf/bpf_local_storage.c + 2 ../kernel/bpf/bpf_local_storage.c