From: kernel test robot <lkp@intel.com>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [jpoimboe:bhi-fixes 5/5] ./arch/x86/include/generated/asm/syscalls_64.h:61:24: error: use of undeclared identifier 'sys_exit'
Date: Fri, 19 Apr 2024 20:20:00 +0800 [thread overview]
Message-ID: <202404192055.POZkulIt-lkp@intel.com> (raw)
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
reply other threads:[~2024-04-19 12:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202404192055.POZkulIt-lkp@intel.com \
--to=lkp@intel.com \
--cc=jpoimboe@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.