linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Will Deacon <will@kernel.org>
To: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: kernel test robot <lkp@intel.com>,
	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 11:06:24 +0000	[thread overview]
Message-ID: <20221122110622.GA19690@willie-the-truck> (raw)
In-Reply-To: <a1f4b820-260d-69df-0d1f-5252778c3ebe@arm.com>

On Tue, Nov 22, 2022 at 10:45:24AM +0000, Suzuki K Poulose wrote:
> 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

Argh, it's that one again. I clearly need more coffee, so thanks for being
patient :)

/back to sleep

Will


      reply	other threads:[~2022-11-22 11:06 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
2022-11-22 11:06     ` Will Deacon [this message]

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=20221122110622.GA19690@willie-the-truck \
    --to=will@kernel.org \
    --cc=bwicaksono@nvidia.com \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=suzuki.poulose@arm.com \
    /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