lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202312092000.8ltwotjt-lkp@intel.com>
Date:   Sat, 9 Dec 2023 20:38:28 +0800
From:   kernel test robot <lkp@...el.com>
To:     Tuan Phan <tuanphan@...amperecomputing.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Will Deacon <will@...nel.org>,
        Suzuki K Poulose <suzuki.poulose@....com>
Subject: drivers/perf/arm_dsu_pmu.c:641: warning: Function parameter or
 member 'dev' not described in 'dsu_pmu_acpi_get_cpus'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ