Hi all, Building Linus' tree, today's linux-next build (sparc64 defconfig) failed like this: :1515:2: error: #warning syscall clone3 not implemented [-Werror=cpp] cc1: all warnings being treated as errors Caused by commit 3fe617ccafd6 ("Enable '-Werror' by default for all kernel builds") I have added this patch for today (I guess I could have used -Wno-error=cpp). From: Stephen Rothwell Date: Mon, 6 Sep 2021 15:47:02 +1000 Subject: [PATCH] don't make the syscall checking produced errors from warnings Signed-off-by: Stephen Rothwell --- scripts/checksyscalls.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index b7609958ee36..fd9777f63f14 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -266,4 +266,4 @@ syscall_list() { } (ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \ -$* -E -x c - > /dev/null +$* -Wno-error -E -x c - > /dev/null -- 2.32.0 -- Cheers, Stephen Rothwell