[android-common:android17-6.18 0/4] include/trace/hooks/topology.h:19: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 android17-6.18 head: 3e53bdbe8bc90023e80d8bdf7a6ab8bf5d13fcc0 commit: 616412c9b51622dbdedbb6641c857f4044430e1d [0/4] ANDROID: topology: Add restricted vendor hook for cpu_capacity_show config: i386-randconfig-061-20260718 (https://download.01.org/0day-ci/archive/20260719/[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/20260719/[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 >>) drivers/base/topology.c: note: in included file: >> 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 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