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:24: error: use of undeclared identifier 'sys_exit'
@ 2024-04-19 12:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-19 12:20 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-allnoconfig (https://download.01.org/0day-ci/archive/20240419/202404192055.POZkulIt-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240419/202404192055.POZkulIt-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/202404192055.POZkulIt-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
      61 | __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 '('
      61 | __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 [-Wimplicit-int]
      61 | __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]
      61 | __SYSCALL_NORETURN(60, sys_exit)
         |                   ^            
         |                                void
>> ./arch/x86/include/generated/asm/syscalls_64.h:61:33: error: expected ';' after top level declarator
      61 | __SYSCALL_NORETURN(60, sys_exit)
         |                                 ^
         |                                 ;
   ./arch/x86/include/generated/asm/syscalls_64.h:232:20: error: expected parameter declarator
     232 | __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 '('
     232 | __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 [-Wimplicit-int]
     232 | __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]
     232 | __SYSCALL_NORETURN(231, sys_exit_group)
         |                   ^                   
         |                                       void
   ./arch/x86/include/generated/asm/syscalls_64.h:232:40: error: expected ';' after top level declarator
     232 | __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'
      61 | __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)')
      33 | 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:20 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:20 [jpoimboe:bhi-fixes 5/5] ./arch/x86/include/generated/asm/syscalls_64.h:61:24: error: use of undeclared identifier 'sys_exit' 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).