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)
commitfda684fb5ec9ff5afb76441ad5371f89aa3775a4
tree0dc4ce1066208d66a19fae3eae4f780333021fd1
parent29f2e5bd9439445fe14ba8570b1c9a7ad682df84
parent6f670d06e47c774bc065aaa84a527a4838f34bd8
Merge branch 'samples: bpf: fix build issues with Clang/LLVM'

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>