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: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'?
Date: Thu, 25 Apr 2024 14:51:51 +0800	[thread overview]
Message-ID: <202404251424.6Re1CBWr-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-04-25  6:52 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=202404251424.6Re1CBWr-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.