public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/perf/arm_dsu_pmu.c:641: warning: Function parameter or member 'dev' not described in 'dsu_pmu_acpi_get_cpus'
@ 2023-12-09 12:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-09 12:38 UTC (permalink / raw)
  To: Tuan Phan; +Cc: oe-kbuild-all, linux-kernel, Will Deacon, Suzuki K Poulose

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f2e8a57ee9036c7d5443382b6c3c09b51a92ec7e
commit: 2b694fc92a34e8c8b774a17266656d72b8cd4429 perf: arm_dsu: Support DSU ACPI devices
date:   3 years, 3 months ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20231209/202312092000.8ltwotjt-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/20231209/202312092000.8ltwotjt-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/202312092000.8ltwotjt-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/perf/arm_dsu_pmu.c:383: warning: Function parameter or member 'event' not described in 'dsu_pmu_set_event_period'
   drivers/perf/arm_dsu_pmu.c:611: warning: Function parameter or member 'dev' not described in 'dsu_pmu_dt_get_cpus'
   drivers/perf/arm_dsu_pmu.c:611: warning: Function parameter or member 'mask' not described in 'dsu_pmu_dt_get_cpus'
>> drivers/perf/arm_dsu_pmu.c:641: warning: Function parameter or member 'dev' not described in 'dsu_pmu_acpi_get_cpus'
>> drivers/perf/arm_dsu_pmu.c:641: warning: Function parameter or member 'mask' not described in 'dsu_pmu_acpi_get_cpus'


vim +641 drivers/perf/arm_dsu_pmu.c

   635	
   636	/**
   637	 * dsu_pmu_acpi_get_cpus: Get the list of CPUs in the cluster
   638	 * from ACPI.
   639	 */
   640	static int dsu_pmu_acpi_get_cpus(struct device *dev, cpumask_t *mask)
 > 641	{
   642	#ifdef CONFIG_ACPI
   643		int cpu;
   644	
   645		/*
   646		 * A dsu pmu node is inside a cluster parent node along with cpu nodes.
   647		 * We need to find out all cpus that have the same parent with this pmu.
   648		 */
   649		for_each_possible_cpu(cpu) {
   650			struct acpi_device *acpi_dev;
   651			struct device *cpu_dev = get_cpu_device(cpu);
   652	
   653			if (!cpu_dev)
   654				continue;
   655	
   656			acpi_dev = ACPI_COMPANION(cpu_dev);
   657			if (acpi_dev &&
   658				acpi_dev->parent == ACPI_COMPANION(dev)->parent)
   659				cpumask_set_cpu(cpu, mask);
   660		}
   661	#endif
   662	
   663		return 0;
   664	}
   665	

-- 
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:[~2023-12-09 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-09 12:38 drivers/perf/arm_dsu_pmu.c:641: warning: Function parameter or member 'dev' not described in 'dsu_pmu_acpi_get_cpus' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox