diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-10-22 12:25:02 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-10-22 14:24:36 -0700 |
commit | fae1b05e6f0acf116f6450535b0e1c13051102d3 (patch) | |
tree | 085a0f6556cf90027c9e99da955ccb20b511170f /tools/testing/selftests/bpf/prog_tests | |
parent | 29da17c48886543a73866f054f803c7737dee1c6 (diff) | |
download | linux-fae1b05e6f0acf116f6450535b0e1c13051102d3.tar.gz linux-fae1b05e6f0acf116f6450535b0e1c13051102d3.tar.bz2 linux-fae1b05e6f0acf116f6450535b0e1c13051102d3.zip |
libbpf: Fix the use of aligned attribute
Building libbpf sources out of kernel tree (in Github repo) we run into
compilation error due to unknown __aligned attribute. It must be coming
from some kernel header, which is not available to Github sources. Use
explicit __attribute__((aligned(16))) instead.
Fixes: 961632d54163 ("libbpf: Fix dumping non-aligned __int128")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211022192502.2975553-1-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions