tree:
git://git.infradead.org/users/hch/misc.git flock-cleanup
head: e9d60bd371bf49d645e69eacfebe50002b65e393
commit: b76dff6a170ce35993b64478fefc5b1226abafec [3/13] asm-generic: merge the 32-bit mips
struct flock into the generic one
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout b76dff6a170ce35993b64478fefc5b1226abafec
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/mips/include/uapi/asm/fcntl.h:58,
from include/uapi/linux/fcntl.h:5,
from include/linux/fcntl.h:6,
from include/linux/fs.h:26,
from include/linux/compat.h:17,
from arch/mips/kernel/asm-offsets.c:12:
> include/uapi/asm-generic/fcntl.h:199:2: error: expected
':', ',', ';', '}' or '__attribute__' before
'__kernel_pid_t'
199 | __kernel_pid_t l_pid;
| ^~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:26:6: warning: no previous prototype for
'output_ptreg_defines' [-Wmissing-prototypes]
26 | void output_ptreg_defines(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:78:6: warning: no previous prototype for
'output_task_defines' [-Wmissing-prototypes]
78 | void output_task_defines(void)
| ^~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:93:6: warning: no previous prototype for
'output_thread_info_defines' [-Wmissing-prototypes]
93 | void output_thread_info_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:110:6: warning: no previous prototype for
'output_thread_defines' [-Wmissing-prototypes]
110 | void output_thread_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:138:6: warning: no previous prototype for
'output_thread_fpu_defines' [-Wmissing-prototypes]
138 | void output_thread_fpu_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:181:6: warning: no previous prototype for
'output_mm_defines' [-Wmissing-prototypes]
181 | void output_mm_defines(void)
| ^~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:220:6: warning: no previous prototype for
'output_sc_defines' [-Wmissing-prototypes]
220 | void output_sc_defines(void)
| ^~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:255:6: warning: no previous prototype for
'output_signal_defined' [-Wmissing-prototypes]
255 | void output_signal_defined(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:322:6: warning: no previous prototype for
'output_pbe_defines' [-Wmissing-prototypes]
322 | void output_pbe_defines(void)
| ^~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:334:6: warning: no previous prototype for
'output_pm_defines' [-Wmissing-prototypes]
334 | void output_pm_defines(void)
| ^~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:348:6: warning: no previous prototype for
'output_kvm_defines' [-Wmissing-prototypes]
348 | void output_kvm_defines(void)
| ^~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:392:6: warning: no previous prototype for
'output_cps_defines' [-Wmissing-prototypes]
392 | void output_cps_defines(void)
| ^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:114: arch/mips/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1175: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +199 include/uapi/asm-generic/fcntl.h
9317259ead88fe include/asm-generic/fcntl.h Stephen Rothwell 2005-09-06 190
5ac353f9baf716 include/asm-generic/fcntl.h Stephen Rothwell 2005-09-06 191 struct
flock {
5ac353f9baf716 include/asm-generic/fcntl.h Stephen Rothwell 2005-09-06 192
short l_type;
5ac353f9baf716 include/asm-generic/fcntl.h Stephen Rothwell 2005-09-06 193
short l_whence;
85efde6f4e0de9 include/asm-generic/fcntl.h Arnd Bergmann 2009-02-26 194
__kernel_off_t l_start;
85efde6f4e0de9 include/asm-generic/fcntl.h Arnd Bergmann 2009-02-26 195
__kernel_off_t l_len;
b76dff6a170ce3 include/uapi/asm-generic/fcntl.h Christoph Hellwig 2020-07-17 196 #ifdef
__ARCH_FLOCK_EXTRA_SYSID
b76dff6a170ce3 include/uapi/asm-generic/fcntl.h Christoph Hellwig 2020-07-17 197
__ARCH_FLOCK_EXTRA_SYSID
b76dff6a170ce3 include/uapi/asm-generic/fcntl.h Christoph Hellwig 2020-07-17 198 #endif
85efde6f4e0de9 include/asm-generic/fcntl.h Arnd Bergmann 2009-02-26 @199
__kernel_pid_t l_pid;
a4dd44e32fb689 include/uapi/asm-generic/fcntl.h Christoph Hellwig 2020-07-17 200 #ifdef
__ARCH_FLOCK_PAD
5ac353f9baf716 include/asm-generic/fcntl.h Stephen Rothwell 2005-09-06 201
__ARCH_FLOCK_PAD
5ac353f9baf716 include/asm-generic/fcntl.h Stephen Rothwell 2005-09-06 202 #endif
a4dd44e32fb689 include/uapi/asm-generic/fcntl.h Christoph Hellwig 2020-07-17 203 };
8d286aa5eaf951 include/asm-generic/fcntl.h Stephen Rothwell 2005-09-06 204
:::::: The code at line 199 was first introduced by commit
:::::: 85efde6f4e0de9577256c5f0030088d3fd4347c1 make exported headers use strict posix
types
:::::: TO: Arnd Bergmann <arnd(a)arndb.de>
:::::: CC: Ingo Molnar <mingo(a)elte.hu>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org