From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 005C83ED5BC for ; Tue, 31 Mar 2026 09:43:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774950223; cv=none; b=ABm2+qmgvofBaFnItGIrW5DH4pMMr+69SI6CeYxNItEZjjG+XUo2boZ2YtUlOscvsTsD6NkoBmF6yI0Q8DomBADT3yBtoIz/1OLawR/bp59MDcMej8SRYgu6MIuhtu8yxdJtHKR0DB3XgSrs34VPi/93Qn+WSpZhGpcUFTZtEHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774950223; c=relaxed/simple; bh=+bqwo7ZaJDpAYycqJsnvi3V2EdkCH0MAZGvR95IoBLs=; h=Date:From:To:Cc:Subject:Message-ID; b=qpvIkByNGhnrj7XbLlb6Nz9+EaEQb2c/JR6qSpXg5HkueTboccYuWVbFcwCLepOfwKxdv6V8lWiA/6at1pja3ZJ3wonGcS9cR0oBejA5aOtjxR2ZWvyx3CdSIpVbVnuarl3WF7sQ9mlrmS63cNnE9fMxuHHNuot3Z9eXHH2sAtI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=KxADWGLS; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KxADWGLS" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1774950222; x=1806486222; h=date:from:to:cc:subject:message-id; bh=+bqwo7ZaJDpAYycqJsnvi3V2EdkCH0MAZGvR95IoBLs=; b=KxADWGLSU5S2omycXNeNeEZlbVzOfUBIS6QHzD5WExterbZrB9r6Bx/z GDN69MMxcDJU/CqrFIMCm6SZVjf/lFo4UxcDQpOyc7VkppCqbK/2axNDG z1qneEKUNJtXAuF6EKRaT1Eers/LA526rQLUJt/AKLTezI25UhRMeWTkJ goZShNvGhc4vGAIuhRonjfoUccr0lNHQP2vINJgQ/YY5aOcKQrZOCHDa9 MsBWfaaacTiEZuJjAuG+d3Wknxpr+s9ap2rkgfiI5KPtQrpsX3e3881FP +tdE8vlLDC//BcIQfj8zo6uoBP3Xep2nVr1PEkXIYEh69R9HE/qZKbmpK w==; X-CSE-ConnectionGUID: LTGaSZ2LQm+2nmn7dpmkrw== X-CSE-MsgGUID: NPxaFFx7TCekwAwlNm6ULA== X-IronPort-AV: E=McAfee;i="6800,10657,11744"; a="93344518" X-IronPort-AV: E=Sophos;i="6.23,151,1770624000"; d="scan'208";a="93344518" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2026 02:43:41 -0700 X-CSE-ConnectionGUID: YfEkinzuTt2hfsRaQaVzdQ== X-CSE-MsgGUID: KqPsWCR9QWOiJmqMcXxiPg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,151,1770624000"; d="scan'208";a="225315128" Received: from lkp-server01.sh.intel.com (HELO 283bf2e1b94a) ([10.239.97.150]) by orviesa006.jf.intel.com with ESMTP; 31 Mar 2026 02:43:40 -0700 Received: from kbuild by 283bf2e1b94a with local (Exim 4.98.2) (envelope-from ) id 1w7VdJ-000000002Un-0bXJ; Tue, 31 Mar 2026 09:43:37 +0000 Date: Tue, 31 Mar 2026 17:42:41 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android17-6.18 2/2] include/trace/hooks/topology.h:19:1: sparse: sparse: incorrect type in assignment (different address spaces) Message-ID: <202603311709.nXtabmdJ-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: tree: https://android.googlesource.com/kernel/common android17-6.18 head: 702185a02153105e701b2ba6f17ec5384cafb6d6 commit: 616412c9b51622dbdedbb6641c857f4044430e1d [2/2] ANDROID: topology: Add restricted vendor hook for cpu_capacity_show config: arm-randconfig-r133-20260331 (https://download.01.org/0day-ci/archive/20260331/202603311709.nXtabmdJ-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 14.3.0 sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260331/202603311709.nXtabmdJ-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202603311709.nXtabmdJ-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/cpufreq.h): include/trace/hooks/cpufreq.h:14: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/cpufreq.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cpufreq.h:22: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/cpufreq.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/preemptirq.h): include/trace/hooks/preemptirq.h:13: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/preemptirq.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.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/preemptirq.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.h:21: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/preemptirq.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:21:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.h:25: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/preemptirq.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:25:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/cgroup.h): include/trace/hooks/cgroup.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/cgroup.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cgroup.h:21: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/cgroup.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:21:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/iommu.h): include/trace/hooks/iommu.h:12: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/iommu.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/iommu.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/vmscan.h): include/trace/hooks/vmscan.h:12: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/vmscan.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/vmscan.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/avc.h): include/trace/hooks/avc.h:14: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/avc.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.h:18: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/avc.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:18:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.h:22: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/avc.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.h:26: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/avc.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/selinux.h): include/trace/hooks/selinux.h:14: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/selinux.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/selinux.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/gic_v3.h): include/trace/hooks/gic_v3.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/gic_v3.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gic_v3.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/topology.h): >> include/trace/hooks/topology.h:19: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/topology.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/topology.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/mm.h): include/trace/hooks/mm.h:15: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/mm.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs vim +19 include/trace/hooks/topology.h 13 14 DECLARE_HOOK(android_vh_arch_set_freq_scale, 15 TP_PROTO(const struct cpumask *cpus, unsigned long freq, unsigned long max, 16 unsigned long *scale), 17 TP_ARGS(cpus, freq, max, scale)); 18 > 19 DECLARE_RESTRICTED_HOOK(android_rvh_cpu_capacity_show, 20 TP_PROTO(unsigned long *capacity, int cpu), 21 TP_ARGS(capacity, cpu), 1); 22 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki