Re: [PATCH 0/2] Fix build errors and warnings when make M=samples/bpf

From: Yonghong Song
Date: Wed Jan 13 2021 - 12:17:47 EST




On 1/13/21 2:57 AM, Tiezhu Yang wrote:
There exists many build errors and warnings when make M=samples/bpf,

both fixes in this patch related to mips, please do mention in the commit message that this is
mips related. x86 (and arm64 I assume) compiles just fine.

this patch series fix some of them, I will submit some other patches
related with MIPS later.

Tiezhu Yang (2):
samples/bpf: Set flag __SANE_USERSPACE_TYPES__ for MIPS to fix build
warnings
compiler.h: Include asm/rwonce.h under ARM64 and ALPHA to fix build
errors

include/linux/compiler.h | 6 ++++++
samples/bpf/Makefile | 4 ++++
tools/include/linux/types.h | 3 +++
3 files changed, 13 insertions(+)