[PATCH OLK-6.6] bpf, x86: Fix missing BTF_SET8_KFUNCS flag for arch kfuncs
hulk inclusion category: bugfix bugzilla: https://atomgit.com/openeuler/kernel/issues/8335 ---------------------------------------- After fdc9f2ea9a9d ("bpf: treewide: Annotate BPF kfuncs in BTF"), all kfuns should wrap by BTF_KFUNCS_START. Fix this missing self dev x86 kfuns. Fixes: fdc9f2ea9a9d ("bpf: treewide: Annotate BPF kfuncs in BTF") Signed-off-by: Luo Gengkun <luogengkun2@huawei.com> --- arch/x86/kernel/cpu/bpf-rvi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/bpf-rvi.c b/arch/x86/kernel/cpu/bpf-rvi.c index dc71657623ed..a5de8f4d0c86 100644 --- a/arch/x86/kernel/cpu/bpf-rvi.c +++ b/arch/x86/kernel/cpu/bpf-rvi.c @@ -142,9 +142,9 @@ __bpf_kfunc const char *bpf_arch_flags(enum arch_flags_type t, int i) } } -BTF_SET8_START(bpf_arch_flags_kfunc_ids) +BTF_KFUNCS_START(bpf_arch_flags_kfunc_ids) BTF_ID_FLAGS(func, bpf_arch_flags) -BTF_SET8_END(bpf_arch_flags_kfunc_ids) +BTF_KFUNCS_END(bpf_arch_flags_kfunc_ids) static const struct btf_kfunc_id_set bpf_arch_flags_kfunc_set = { .owner = THIS_MODULE, -- 2.34.1
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://atomgit.com/openeuler/kernel/merge_requests/22400 邮件列表地址:https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/552... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://atomgit.com/openeuler/kernel/merge_requests/22400 Mailing list address: https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/552...
participants (2)
-
Luo Gengkun -
patchwork bot