linux-next: build failure after merge of the akpm tree

From: Stephen Rothwell
Date: Mon Dec 21 2020 - 00:17:10 EST


Hi all,

After merging the akpm tree, today's linux-next build (arm64 allmodconfig)
failed like this:

./include/uapi/asm-generic/unistd.h:867:27: error: array index in initializer exceeds array bounds

Caused by commit

390e5073c473 ("arch, mm: wire up memfd_secret system call where relevant")
d098835811e0 ("arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix")

Reported-by: kernelci.org bot <bot@xxxxxxxxxxxx>

I will apply the following patch tomorrow:

From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Mon, 21 Dec 2020 16:10:40 +1100
Subject: [PATCH] arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix-fix

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
include/uapi/asm-generic/unistd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
index 72b94deb8cf1..26125974a8a2 100644
--- a/include/uapi/asm-generic/unistd.h
+++ b/include/uapi/asm-generic/unistd.h
@@ -869,7 +869,7 @@ __SYSCALL(__NR_memfd_secret, sys_memfd_secret)
#endif

#undef __NR_syscalls
-#define __NR_syscalls 443
+#define __NR_syscalls 444

/*
* 32 bit systems traditionally used different
--
2.29.2

--
Cheers,
Stephen Rothwell

Attachment: pgpf4kzJYEEVd.pgp
Description: OpenPGP digital signature