Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [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
@ 2026-07-13  6:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-13  6:58 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: llvm, oe-kbuild-all

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/202607131454.nwgaxB2K-lkp@intel.com/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/202607131454.nwgaxB2K-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/202607131454.nwgaxB2K-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-13  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13  6:58 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox