next-20221122: tinyconfig: ppc n s390: kernel/printk/printk.c:95:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
From: Naresh Kamboju
Date: Tue Nov 22 2022 - 04:09:05 EST
Today's Linux next 20221122 tag clang-15 tinyconfig builds fails on
powerpc and s390 architectures.
Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build LLVM_IAS=0 ARCH=s390
CROSS_COMPILE=s390x-linux-gnu- 'HOSTCC=sccache clang' 'CC=sccache
clang'
kernel/printk/printk.c:95:1: error: type specifier missing, defaults
to 'int'; ISO C99 and later do not support implicit int
[-Werror,-Wimplicit-int]
DEFINE_STATIC_SRCU(console_srcu);
^
int
kernel/printk/printk.c:95:20: error: a parameter list without types is
only allowed in a function definition
DEFINE_STATIC_SRCU(console_srcu);
^
kernel/printk/printk.c:261:29: error: use of undeclared identifier
'console_srcu'
srcu_read_lock_held(&console_srcu));
^
kernel/printk/printk.c:288:33: error: use of undeclared identifier
'console_srcu'
return srcu_read_lock_nmisafe(&console_srcu);
^
kernel/printk/printk.c:300:28: error: use of undeclared identifier
'console_srcu'
srcu_read_unlock_nmisafe(&console_srcu, cookie);
^
kernel/printk/printk.c:3122:20: error: use of undeclared identifier
'console_srcu'
synchronize_srcu(&console_srcu);
^
kernel/printk/printk.c:3469:20: error: use of undeclared identifier
'console_srcu'
synchronize_srcu(&console_srcu);
^
kernel/printk/printk.c:3521:20: error: use of undeclared identifier
'console_srcu'
synchronize_srcu(&console_srcu);
^
8 errors generated.
log:
https://builds.tuxbuild.com/2HtTqOb2b83eGTzpS4bjLf59Agd/
Build history:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221122/testrun/13121925/suite/build/test/clang-15-tinyconfig/history/
--
Linaro LKFT
https://lkft.linaro.org