From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Fri, 22 May 2026 02:29:12 +0800 [thread overview]
Message-ID: <202605220242.7mJigvPC-lkp@intel.com> (raw)
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
reply other threads:[~2026-05-21 18:30 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=202605220242.7mJigvPC-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--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.