Re: arch/nds32/kernel/vdso/gettimeofday.c:246:13: error: no previous prototype for '__vdso_gettimeofday'

From: Stephen Rothwell
Date: Tue Nov 09 2021 - 02:46:25 EST


Hi all,

On Tue, 9 Nov 2021 13:17:19 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:
>
> First bad commit (maybe != root cause):
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: d2f38a3c6507b2520101f9a3807ed98f1bdc545a
> commit: 20fbb11fe4ea99e02d77824613f1438bea456683 don't make the syscall checking produce errors from warnings
> date: 9 weeks ago

Its very unlikely to be that commit (since all it does it turn some
errors into warnings):

commit 20fbb11fe4ea99e02d77824613f1438bea456683
Author: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Mon Sep 6 15:47:02 2021 +1000

don't make the syscall checking produce errors from warnings

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

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


When did this start failing? That commit has been in Linus' tree for 9
weeks ...
--
Cheers,
Stephen Rothwell

Attachment: pgpprwsZ4cDop.pgp
Description: OpenPGP digital signature