All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android15-6.6 5/6] drivers/base/arch_topology.c:226:9: error: implicit declaration of function 'trace_android_rvh_cpu_capacity_show'; did you mean 'android_rvh_cpu_capacity_show'?
@ 2024-04-25  6:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-25  6:51 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android15-6.6
head:   1ee7deeefc44498ddedd4256528fd49383d26bd1
commit: 915f526315bb4c89edbcc0ea31f4f1ca3a1dae60 [5/6] ANDROID: topology: Add restricted vendor hook for cpu_capacity_show
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20240425/202404251424.6Re1CBWr-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240425/202404251424.6Re1CBWr-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/202404251424.6Re1CBWr-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/base/arch_topology.c: In function 'cpu_capacity_show':
>> drivers/base/arch_topology.c:226:9: error: implicit declaration of function 'trace_android_rvh_cpu_capacity_show'; did you mean 'android_rvh_cpu_capacity_show'? [-Werror=implicit-function-declaration]
     226 |         trace_android_rvh_cpu_capacity_show(&capacity, cpu->dev.id);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |         android_rvh_cpu_capacity_show
   cc1: some warnings being treated as errors


vim +226 drivers/base/arch_topology.c

   218	
   219	static ssize_t cpu_capacity_show(struct device *dev,
   220					 struct device_attribute *attr,
   221					 char *buf)
   222	{
   223		struct cpu *cpu = container_of(dev, struct cpu, dev);
   224		unsigned long capacity = topology_get_cpu_scale(cpu->dev.id);
   225	
 > 226		trace_android_rvh_cpu_capacity_show(&capacity, cpu->dev.id);
   227		return sysfs_emit(buf, "%lu\n", capacity);
   228	}
   229	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-25  6:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25  6:51 [android-common:android15-6.6 5/6] drivers/base/arch_topology.c:226:9: error: implicit declaration of function 'trace_android_rvh_cpu_capacity_show'; did you mean 'android_rvh_cpu_capacity_show'? kernel test robot

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.