From: kernel test robot <lkp@intel.com>
To: Tuan Phan <tuanphan@os.amperecomputing.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Will Deacon <will@kernel.org>,
Suzuki K Poulose <suzuki.poulose@arm.com>
Subject: drivers/perf/arm_dsu_pmu.c:641: warning: Function parameter or member 'dev' not described in 'dsu_pmu_acpi_get_cpus'
Date: Sat, 9 Dec 2023 20:38:28 +0800 [thread overview]
Message-ID: <202312092000.8ltwotjt-lkp@intel.com> (raw)
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
reply other threads:[~2023-12-09 12:39 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=202312092000.8ltwotjt-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=suzuki.poulose@arm.com \
--cc=tuanphan@os.amperecomputing.com \
--cc=will@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox