public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 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]
@ 2022-11-22  9:08 Naresh Kamboju
  2022-11-22 14:27 ` John Ogness
  0 siblings, 1 reply; 15+ messages in thread
From: Naresh Kamboju @ 2022-11-22  9:08 UTC (permalink / raw)
  To: open list, llvm, lkft-triage
  Cc: Nathan Chancellor, John Ogness, Petr Mladek, Sergey Senozhatsky

Today's Linux next 20221122 tag clang-15 tinyconfig builds fails on
powerpc and s390 architectures.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-11-30 21:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-22  9:08 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] Naresh Kamboju
2022-11-22 14:27 ` John Ogness
2022-11-22 14:48   ` Paul E. McKenney
2022-11-22 15:27     ` John Ogness
2022-11-22 15:55       ` Petr Mladek
2022-11-22 18:20         ` Paul E. McKenney
2022-11-22 22:00         ` Paul E. McKenney
2022-11-22 22:11           ` Randy Dunlap
2022-11-22 23:14           ` John Ogness
2022-11-22 23:42             ` Paul E. McKenney
2022-11-30  0:18               ` Paul E. McKenney
2022-11-30  8:53                 ` John Ogness
2022-11-30 10:37                   ` Petr Mladek
2022-11-30 21:59                     ` Paul E. McKenney
2022-11-22 16:35       ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox