All of lore.kernel.org
 help / color / mirror / Atom feed
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-2026-03 1/1] include/trace/hooks/wqlockup.h:17:1: sparse: sparse: incorrect type in assignment (different address spaces)
Date: Sun, 23 Aug 2026 20:26:10 +0800	[thread overview]
Message-ID: <202608230104.3ZYEoTuW-lkp@intel.com> (raw)

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/202608230104.3ZYEoTuW-lkp@intel.com/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/202608230104.3ZYEoTuW-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/202608230104.3ZYEoTuW-lkp@intel.com/

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

                 reply	other threads:[~2026-08-23 12:26 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=202608230104.3ZYEoTuW-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.