[tglx-devel:entry/rework 18/21] kernel/entry/syscall-common.c:32:2: error: call to undeclared function '__audit_syscall_entry'; ISO C99 and later do not support implicit function declarations
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git entry/rework head: 1454229eb369ff115a01917755f196188bdc74ee commit: ddef2cc738735c0da1c43b05bbeab690c76f961e [18/21] entry: Rework syscall_audit_enter() config: powerpc-mpc512x_defconfig (https://download.01.org/0day-ci/archive/20260713/[email protected]/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project b3e6e6dabdc02153552a64fc74ff5c7532447eed) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260713/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): >> kernel/entry/syscall-common.c:32:2: error: call to undeclared function '__audit_syscall_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | __audit_syscall_entry(syscall, args[0], args[1], args[2], args[3]); | ^ kernel/entry/syscall-common.c:32:2: note: did you mean 'audit_syscall_entry'? include/linux/audit.h:614:20: note: 'audit_syscall_entry' declared here 614 | static inline void audit_syscall_entry(int major, unsigned long a0, | ^ 1 error generated. vim +/__audit_syscall_entry +32 kernel/entry/syscall-common.c 25 26 void syscall_enter_audit(struct pt_regs *regs) 27 { 28 long syscall = syscall_get_nr(current, regs); 29 unsigned long args[6]; 30 31 syscall_get_arguments(current, regs, args); > 32 __audit_syscall_entry(syscall, args[0], args[1], args[2], args[3]); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki