* [android-common:android16-6.12 0/3] 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-05-21 18:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-21 18:29 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: 9d40b257ba08a2ae9a2cb55b34afe1cff4721b18
commit: 78cf7a145c200d185e2370c712abd8235d1bd5aa [0/3] ANDROID: rwsem: Add vendor hook to the rw-semaphore
config: i386-buildonly-randconfig-002-20260521 (https://download.01.org/0day-ci/archive/20260522/202605220242.7mJigvPC-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260522/202605220242.7mJigvPC-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/202605220242.7mJigvPC-lkp@intel.com/
All errors (new ones prefixed by >>):
>> 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>:25:1: note: expanded from here
25 | 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);
| ^
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-05-21 18:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21 18:29 [android-common:android16-6.12 0/3] 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.