Re: [PATCH bpf-next] compiler_types: Refactor the use of btf_type_tag attribute.
From: Yonghong Song
Date: Thu Mar 10 2022 - 17:44:09 EST
On 3/10/22 1:16 PM, Hao Luo wrote:
Previous patches have introduced the compiler attribute btf_type_tag for
__user and __percpu. The availability of this attribute depends on
some CONFIGs and compiler support. This patch refactors the use
of btf_type_tag by introducing BTF_TYPE_TAG, which hides all the
dependencies.
No functional change.
Suggested-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
Cc: Yonghong Song <yhs@xxxxxx>
Signed-off-by: Hao Luo <haoluo@xxxxxxxxxx>
LGTM. Thanks!
Acked-by: Yonghong Song <yhs@xxxxxx>