oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [jpoimboe:bhi-fixes 5/5] ./arch/x86/include/generated/asm/syscalls_64.h:61:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int
@ 2024-04-19 12:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-19 12:19 UTC (permalink / raw
  To: Josh Poimboeuf; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git bhi-fixes
head:   477bedf59d1fe82d8ad1014e8e7f4a50d4e68c1f
commit: 477bedf59d1fe82d8ad1014e8e7f4a50d4e68c1f [5/5] fix
config: um-x86_64_defconfig (https://download.01.org/0day-ci/archive/20240419/202404192021.XXwb0Rqd-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): (https://download.01.org/0day-ci/archive/20240419/202404192021.XXwb0Rqd-lkp@intel.com/reproduce)

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/202404192021.XXwb0Rqd-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/x86/um/sys_call_table_64.c:22:
   ./arch/x86/include/generated/asm/syscalls_64.h:61:20: error: expected parameter declarator
   __SYSCALL_NORETURN(60, sys_exit)
                      ^
   ./arch/x86/include/generated/asm/syscalls_64.h:61:20: error: expected ')'
   ./arch/x86/include/generated/asm/syscalls_64.h:61:19: note: to match this '('
   __SYSCALL_NORETURN(60, sys_exit)
                     ^
>> ./arch/x86/include/generated/asm/syscalls_64.h:61:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
   __SYSCALL_NORETURN(60, sys_exit)
   ^
   int
   ./arch/x86/include/generated/asm/syscalls_64.h:61:19: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   __SYSCALL_NORETURN(60, sys_exit)
                     ^
                                  void
   ./arch/x86/include/generated/asm/syscalls_64.h:61:33: error: expected ';' after top level declarator
   __SYSCALL_NORETURN(60, sys_exit)
                                   ^
                                   ;
   ./arch/x86/include/generated/asm/syscalls_64.h:232:20: error: expected parameter declarator
   __SYSCALL_NORETURN(231, sys_exit_group)
                      ^
   ./arch/x86/include/generated/asm/syscalls_64.h:232:20: error: expected ')'
   ./arch/x86/include/generated/asm/syscalls_64.h:232:19: note: to match this '('
   __SYSCALL_NORETURN(231, sys_exit_group)
                     ^
   ./arch/x86/include/generated/asm/syscalls_64.h:232:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
   __SYSCALL_NORETURN(231, sys_exit_group)
   ^
   int
   ./arch/x86/include/generated/asm/syscalls_64.h:232:19: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   __SYSCALL_NORETURN(231, sys_exit_group)
                     ^
                                         void
   ./arch/x86/include/generated/asm/syscalls_64.h:232:40: error: expected ';' after top level declarator
   __SYSCALL_NORETURN(231, sys_exit_group)
                                          ^
                                          ;
   In file included from arch/x86/um/sys_call_table_64.c:30:
   ./arch/x86/include/generated/asm/syscalls_64.h:61:24: error: use of undeclared identifier 'sys_exit'
   __SYSCALL_NORETURN(60, sys_exit)
                          ^
   arch/x86/um/sys_call_table_64.c:33:32: error: invalid application of 'sizeof' to an incomplete type 'const sys_call_ptr_t[]' (aka 'long (*const[])(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)')
   int syscall_table_size = sizeof(sys_call_table);
                                  ^~~~~~~~~~~~~~~~
   12 errors generated.

-- 
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:[~2024-04-19 12:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 12:19 [jpoimboe:bhi-fixes 5/5] ./arch/x86/include/generated/asm/syscalls_64.h:61: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 read-only IMAP folder(s) and NNTP newsgroup(s).