[android-common:android16-6.12-2026-03 1/1] include/trace/hooks/wqlockup.h:17:1: sparse: sparse: incorrect type in assignment (different address spaces)
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://android.googlesource.com/kernel/common android16-6.12-2026-03 head: 625bef5cf43deeb3fca2e75202bcf958b6b976e5 commit: f642834be6e3df571934572011919cc18224202a [1/1] ANDROID: vendor_hooks: add hook in alloc_and_link_pwqs() config: i386-randconfig-r132-20260822 (https://download.01.org/0day-ci/archive/20260823/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260823/[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]/ sparse warnings: (new ones prefixed by >>) kernel/workqueue.c:5468:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct pool_workqueue [noderef] __rcu *[noderef] __percpu *cpu_pwq @@ got struct pool_workqueue *[noderef] __percpu * @@ kernel/workqueue.c:5468:21: sparse: expected struct pool_workqueue [noderef] __rcu *[noderef] __percpu *cpu_pwq kernel/workqueue.c:5468:21: sparse: got struct pool_workqueue *[noderef] __percpu * kernel/workqueue.c:5485:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct pool_workqueue **pwq_p @@ got struct pool_workqueue [noderef] __rcu ** @@ kernel/workqueue.c:5485:31: sparse: expected struct pool_workqueue **pwq_p kernel/workqueue.c:5485:31: sparse: got struct pool_workqueue [noderef] __rcu ** kernel/workqueue.c:5524:54: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct pool_workqueue *pwq @@ got struct pool_workqueue [noderef] __rcu * @@ kernel/workqueue.c:5524:54: sparse: expected struct pool_workqueue *pwq kernel/workqueue.c:5524:54: sparse: got struct pool_workqueue [noderef] __rcu * kernel/workqueue.c:6039:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct pool_workqueue *pwq @@ got struct pool_workqueue [noderef] __rcu * @@ kernel/workqueue.c:6039:13: sparse: expected struct pool_workqueue *pwq kernel/workqueue.c:6039:13: sparse: got struct pool_workqueue [noderef] __rcu * kernel/workqueue.c: note: in included file: >> include/trace/hooks/wqlockup.h:17:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@ include/trace/hooks/wqlockup.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/wqlockup.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs vim +17 include/trace/hooks/wqlockup.h 5 6 #if !defined(_TRACE_HOOK_WQLOCKUP_H) || defined(TRACE_HEADER_MULTI_READ) 7 #define _TRACE_HOOK_WQLOCKUP_H 8 #include <trace/hooks/vendor_hooks.h> 9 /* 10 * Following tracepoints are not exported in tracefs and provide a 11 * mechanism for vendor modules to hook and extend functionality 12 */ 13 DECLARE_HOOK(android_vh_wq_lockup_pool, 14 TP_PROTO(int cpu, unsigned long pool_ts), 15 TP_ARGS(cpu, pool_ts)); 16 > 17 DECLARE_RESTRICTED_HOOK(android_rvh_alloc_and_link_pwqs, 18 TP_PROTO(struct workqueue_struct *wq, int *ret, bool *skip), 19 TP_ARGS(wq, ret, skip), 1); 20 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki