Re: linux-next: runtime warnings after merge of the bpf-next tree

From: Alexei Starovoitov
Date: Wed Jan 31 2024 - 23:02:59 EST


On Wed, Jan 31, 2024 at 7:55 PM Daniel Xu <dxu@xxxxxxxxx> wrote:
>
>
>
> diff --git a/include/linux/btf_ids.h b/include/linux/btf_ids.h
> index 0fe4f1cd1918..e24aabfe8ecc 100644
> --- a/include/linux/btf_ids.h
> +++ b/include/linux/btf_ids.h
> @@ -227,7 +227,7 @@ BTF_SET8_END(name)
> #define BTF_SET_END(name)
> #define BTF_SET8_START(name) static struct btf_id_set8 __maybe_unused name = { 0 };
> #define BTF_SET8_END(name)
> -#define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { 0 };
> +#define BTF_KFUNCS_START(name) static struct btf_id_set8 __maybe_unused name = { .flags = BTF_SET8_KFUNCS };
> #define BTF_KFUNCS_END(name)

Most likely you're correct.
Force pushed bpf-next with this fix.