Commit d677a10f authored by Anton Protopopov's avatar Anton Protopopov Committed by Andrii Nakryiko
Browse files

selftest/bpf: Replace magic constants by macros



Replace magic constants in a BTF structure initialization code by
proper macros, as is done in other similar selftests.

Suggested-by: default avatarEduard Zingerman <eddyz87@gmail.com>
Signed-off-by: default avatarAnton Protopopov <aspsk@isovalent.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241213130934.1087929-8-aspsk@isovalent.com
parent 1c593d74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment