========== build_32bit - FAILED ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1065:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1065 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1066:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1066 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/helpers.c:3466: warning: expecting prototype for bpf_strlen(). Prototype was for bpf_strnlen() instead ../kernel/bpf/helpers.c:3534: warning: expecting prototype for strcspn(). Prototype was for bpf_strcspn() instead New errors added --- /tmp/tmp.cREqAJ2HwB 2025-05-07 00:18:56.055242640 -0700 +++ /tmp/tmp.RDzYLlwGSV 2025-05-07 00:21:17.538472253 -0700 @@ -2,2 +2,2 @@ -../kernel/bpf/helpers.c:1065:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 1065 | err = bstr_printf(str, str_size, fmt, data.bin_args); +../kernel/bpf/helpers.c:1066:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 1066 | err = bstr_printf(str, str_size, fmt, data.bin_args); @@ -4,0 +5,2 @@ +../kernel/bpf/helpers.c:3466: warning: expecting prototype for bpf_strlen(). Prototype was for bpf_strnlen() instead +../kernel/bpf/helpers.c:3534: warning: expecting prototype for strcspn(). Prototype was for bpf_strcspn() instead Per-file breakdown --- /tmp/tmp.osXS5Wgqju 2025-05-07 00:21:17.544912527 -0700 +++ /tmp/tmp.CJR2fPIPD3 2025-05-07 00:21:17.547912501 -0700 @@ -1 +1 @@ - 1 ../kernel/bpf/helpers.c + 3 ../kernel/bpf/helpers.c