From: Suzuki K Poulose <suzuki.poulose@arm.com>
To: Will Deacon <will@kernel.org>, kernel test robot <lkp@intel.com>
Cc: Besar Wicaksono <bwicaksono@nvidia.com>,
oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 7077/9540] drivers/perf/arm_cspmu/arm_cspmu.c:1105:29: error: implicit declaration of function 'get_acpi_id_for_cpu'
Date: Tue, 22 Nov 2022 10:45:24 +0000 [thread overview]
Message-ID: <a1f4b820-260d-69df-0d1f-5252778c3ebe@arm.com> (raw)
In-Reply-To: <20221122102839.GA19640@willie-the-truck>
On 22/11/2022 10:28, Will Deacon wrote:
> On Tue, Nov 22, 2022 at 05:27:38PM +0800, kernel test robot wrote:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
>> head: 771a207d1ee9f38da8c0cee1412228f18b900bac
>> commit: e37dfd65731dc4f001fa7dfa7f705e6840017d5a [7077/9540] perf: arm_cspmu: Add support for ARM CoreSight PMU driver
>> config: loongarch-allmodconfig
>> compiler: loongarch64-linux-gcc (GCC) 12.1.0
>> reproduce (this is a W=1 build):
>> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>> chmod +x ~/bin/make.cross
>> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e37dfd65731dc4f001fa7dfa7f705e6840017d5a
>> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>> git fetch --no-tags linux-next master
>> git checkout e37dfd65731dc4f001fa7dfa7f705e6840017d5a
>> # save the config file
>> mkdir build_dir && cp config build_dir/.config
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/iio/magnetometer/ drivers/perf/arm_cspmu/
>>
>> If you fix the issue, kindly add following tag where applicable
>> | Reported-by: kernel test robot <lkp@intel.com>
>>
>> Note: the linux-next/master HEAD 771a207d1ee9f38da8c0cee1412228f18b900bac builds fine.
>> It may have been fixed somewhere.
>>
>> All errors (new ones prefixed by >>):
>>
>> drivers/perf/arm_cspmu/arm_cspmu.c: In function 'arm_cspmu_get_cpus':
>>>> drivers/perf/arm_cspmu/arm_cspmu.c:1105:29: error: implicit declaration of function 'get_acpi_id_for_cpu' [-Werror=implicit-function-declaration]
>> 1105 | get_acpi_id_for_cpu(cpu)) {
>> | ^~~~~~~~~~~~~~~~~~~
>> cc1: some warnings being treated as errors
>
> Besar, Suzuki, please can you look into this?
This was fixed with a Kconfig depenedency on ARM64 [0]. The above commit
picked up doesn't have the fix. i.e., this is a duplicate error report.
[0] https://git.kernel.org/will/c/e72dbf9085b5
Thanks
Suzuki
next prev parent reply other threads:[~2022-11-22 10:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 9:27 kernel test robot
2022-11-22 10:28 ` Will Deacon
2022-11-22 10:45 ` Suzuki K Poulose [this message]
2022-11-22 11:06 ` Will Deacon
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=a1f4b820-260d-69df-0d1f-5252778c3ebe@arm.com \
--to=suzuki.poulose@arm.com \
--cc=bwicaksono@nvidia.com \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--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