* [peterz-queue:core/guards 8/58] kernel/sched/sched.h:2777:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int
@ 2023-06-10 1:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-06-10 1:17 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git core/guards
head: dd132e83d180b932488bcf612576529e6163a1ea
commit: 1dfde3291f560cbd428c38a34068e812b3b1e1db [8/58] sched: Simplify: migrate_swap_stop()
config: i386-buildonly-randconfig-r006-20230610 (https://download.01.org/0day-ci/archive/20230610/202306100901.l9s051vz-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=1dfde3291f560cbd428c38a34068e812b3b1e1db
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue core/guards
git checkout 1dfde3291f560cbd428c38a34068e812b3b1e1db
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash kernel/
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306100901.l9s051vz-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_policy.c:34:
kernel/sched/sched.h:2777:37: error: expected identifier
DEFINE_LOCK_GUARD_2(double_rq_lock, struct rq,
^
>> kernel/sched/sched.h:2777:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
DEFINE_LOCK_GUARD_2(double_rq_lock, struct rq,
^
int
kernel/sched/sched.h:2777:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
DEFINE_LOCK_GUARD_2(double_rq_lock, struct rq,
^
kernel/sched/sched.h:2779:45: error: expected ';' after top level declarator
double_rq_unlock(_T->lock, _T->lock2))
^
;
4 errors generated.
vim +/int +2777 kernel/sched/sched.h
2776
> 2777 DEFINE_LOCK_GUARD_2(double_rq_lock, struct rq,
2778 double_rq_lock(_T->lock, _T->lock2),
2779 double_rq_unlock(_T->lock, _T->lock2))
2780
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-10 1:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-10 1:17 [peterz-queue:core/guards 8/58] kernel/sched/sched.h:2777:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).