* [android-common:android16-6.12 2/2] kernel/locking/rwsem.c:1651:2: error: call to undeclared function 'trace_android_vh_rwsem_write_finished'; ISO C99 and later do not support implicit function declarations
@ 2026-04-25 2:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-25 2:59 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi JianMin,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android16-6.12
head: 1c5ded243bc242777bc62632c082c086b90ed490
commit: 78cf7a145c200d185e2370c712abd8235d1bd5aa [2/2] ANDROID: rwsem: Add vendor hook to the rw-semaphore
config: arm64-randconfig-002-20260425 (https://download.01.org/0day-ci/archive/20260425/202604251053.EinObDHB-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260425/202604251053.EinObDHB-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/202604251053.EinObDHB-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from <built-in>:3:
In file included from include/linux/compiler_types.h:171:
include/linux/compiler-clang.h:37:9: warning: '__SANITIZE_THREAD__' macro redefined [-Wmacro-redefined]
37 | #define __SANITIZE_THREAD__
| ^
<built-in>:369:9: note: previous definition is here
369 | #define __SANITIZE_THREAD__ 1
| ^
>> kernel/locking/rwsem.c:1651:2: error: call to undeclared function 'trace_android_vh_rwsem_write_finished'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1651 | trace_android_vh_rwsem_write_finished(sem);
| ^
kernel/locking/rwsem.c:1651:2: note: did you mean 'trace_android_vh_rwsem_write_wait_finish'?
include/trace/hooks/dtask.h:44:1: note: 'trace_android_vh_rwsem_write_wait_finish' declared here
44 | DECLARE_HOOK(android_vh_rwsem_write_wait_finish,
| ^
include/trace/hooks/vendor_hooks.h:119:22: note: expanded from macro 'DECLARE_HOOK'
119 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:605:21: note: expanded from macro 'DECLARE_EVENT_NOP'
605 | static inline void trace_##name(proto) \
| ^
<scratch space>:43:1: note: expanded from here
43 | trace_android_vh_rwsem_write_wait_finish
| ^
kernel/locking/rwsem.c:1662:2: error: call to undeclared function 'trace_android_vh_rwsem_write_finished'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1662 | trace_android_vh_rwsem_write_finished(sem);
| ^
1 warning and 2 errors generated.
vim +/trace_android_vh_rwsem_write_finished +1651 kernel/locking/rwsem.c
1644
1645 /*
1646 * release a write lock
1647 */
1648 void up_write(struct rw_semaphore *sem)
1649 {
1650 rwsem_release(&sem->dep_map, _RET_IP_);
> 1651 trace_android_vh_rwsem_write_finished(sem);
1652 __up_write(sem);
1653 }
1654 EXPORT_SYMBOL(up_write);
1655
--
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-04-25 3:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25 2:59 [android-common:android16-6.12 2/2] kernel/locking/rwsem.c:1651:2: error: call to undeclared function 'trace_android_vh_rwsem_write_finished'; ISO C99 and later do not support implicit function declarations kernel test robot
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.