Re: [PATCH] Revert "irqdomain: Don't set type when mapping an IRQ"
From: kbuild test robot
Date: Sat Aug 06 2016 - 18:57:01 EST
Hi Linus,
[auto build test ERROR on tip/irq/core]
[also build test ERROR on next-20160805]
[cannot apply to v4.7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Linus-Walleij/Revert-irqdomain-Don-t-set-type-when-mapping-an-IRQ/20160807-064011
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=sparc64
All errors (new ones prefixed by >>):
kernel/irq/irqdomain.c: In function 'irq_dispose_mapping':
>> kernel/irq/irqdomain.c:671:3: error: implicit declaration of function 'irq_domain_free_irqs' [-Werror=implicit-function-declaration]
irq_domain_free_irqs(virq, 1);
^
cc1: some warnings being treated as errors
vim +/irq_domain_free_irqs +671 kernel/irq/irqdomain.c
cc79ca691c Grant Likely 2012-02-16 665
68700650e7 Grant Likely 2012-02-14 666 domain = irq_data->domain;
68700650e7 Grant Likely 2012-02-14 667 if (WARN_ON(domain == NULL))
cc79ca691c Grant Likely 2012-02-16 668 return;
cc79ca691c Grant Likely 2012-02-16 669
d16dcd3d18 Jon Hunter 2016-06-21 670 if (irq_domain_is_hierarchy(domain)) {
d16dcd3d18 Jon Hunter 2016-06-21 @671 irq_domain_free_irqs(virq, 1);
d16dcd3d18 Jon Hunter 2016-06-21 672 } else {
ddaf144c61 Grant Likely 2013-06-10 673 irq_domain_disassociate(domain, virq);
cc79ca691c Grant Likely 2012-02-16 674 irq_free_desc(virq);
:::::: The code at line 671 was first introduced by commit
:::::: d16dcd3d18759eb955e0325572d07457f93494f5 irqdomain: Fix disposal of mappings for interrupt hierarchies
:::::: TO: Jon Hunter <jonathanh@xxxxxxxxxx>
:::::: CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data