Merge branch 'samples: bpf: fix build issues with Clang/LLVM'
authorAndrii Nakryiko <andrii@kernel.org>
Tue, 7 Dec 2021 03:33:45 +0000 (19:33 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 7 Dec 2021 03:33:45 +0000 (19:33 -0800)
Alexander Lobakin says:

====================

Samples, at least XDP ones, can be built only with the compiler used
to build the kernel itself.
However, XDP sample infra introduced in Aug'21 was probably tested
with GCC/Binutils only as it's not really compilable for now with
Clang/LLVM.
These two are trivial fixes addressing this.
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>

Trivial merge