From: Jon Hunter <jonathanh@nvidia.com>
To: kbuild test robot <lkp@intel.com>
Cc: <kbuild-all@01.org>, Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>,
Marc Zyngier <marc.zyngier@arm.com>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] irqchip/gic: Only populate set_affinity for the root controller
Date: Tue, 22 Dec 2015 09:21:59 +0000 [thread overview]
Message-ID: <56791637.6060708@nvidia.com> (raw)
In-Reply-To: <201512220801.Q9Hb6AOu%fengguang.wu@intel.com>
On 22/12/15 01:00, kbuild test robot wrote:
> Hi Jon,
>
> [auto build test ERROR on tip/irq/core]
> [also build test ERROR on next-20151221]
> [cannot apply to v4.4-rc6]
>
> url: https://github.com/0day-ci/linux/commits/Jon-Hunter/irqchip-gic-Remove-static-irq_chip-definition-for-eoimode1/20151221-221639
> config: arm-realview_defconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # save the attached .config to linux build tree
> make.cross ARCH=arm
>
> All errors (new ones prefixed by >>):
>
> drivers/irqchip/irq-gic.c: In function '__gic_init_bases':
>>> drivers/irqchip/irq-gic.c:1019:33: error: 'gic_set_affinity' undeclared (first use in this function)
> gic->chip.irq_set_affinity = gic_set_affinity;
> ^
> drivers/irqchip/irq-gic.c:1019:33: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +/gic_set_affinity +1019 drivers/irqchip/irq-gic.c
>
> 1013 gic->chip = gic_chip;
> 1014 gic->chip.name = kasprintf(GFP_KERNEL, "GIC-%d", gic_nr);
> 1015
> 1016 /* Initialize irq_chip */
> 1017 if (gic_nr == 0) {
> 1018 if (IS_ENABLED(CONFIG_SMP))
>> 1019 gic->chip.irq_set_affinity = gic_set_affinity;
> 1020
> 1021 if (static_key_true(&supports_deactivate)) {
> 1022 gic->chip.irq_mask = gic_eoimode1_mask_irq;
>
Thanks. Yes if CONFIG_SMP is not defined then I see this error. I had
naively assumed that IS_ENABLED() would handle this for me. I will fix this.
Cheers
Jon
prev parent reply other threads:[~2015-12-22 9:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-21 14:13 [PATCH 1/2] irqchip/gic: Remove static irq_chip definition for eoimode1 Jon Hunter
2015-12-21 14:13 ` [PATCH 2/2] irqchip/gic: Only populate set_affinity for the root controller Jon Hunter
2015-12-22 1:00 ` kbuild test robot
2015-12-22 9:21 ` Jon Hunter [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=56791637.6060708@nvidia.com \
--to=jonathanh@nvidia.com \
--cc=jason@lakedaemon.net \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=marc.zyngier@arm.com \
--cc=tglx@linutronix.de \
/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