diff options
| author | Anton Protopopov <aspsk@isovalent.com> | 2024-12-13 16:09:34 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2024-12-14 01:48:39 +0300 |
| commit | d677a10f80abf1ef65ae9bcf51b5a83ecf10e99a (patch) | |
| tree | 0acb5f6324ae0ab1cee6d3d41a0b6840a4255dda /rust/helpers/platform.c | |
| parent | 1c593d7402b13d97f997b570e9fc7c49e53e1ed1 (diff) | |
| download | linux-d677a10f80abf1ef65ae9bcf51b5a83ecf10e99a.tar.xz | |
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: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Anton Protopopov <aspsk@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241213130934.1087929-8-aspsk@isovalent.com
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
