Re: [PATCH v1] mfd: intel_soc_pmic: Fix a mess with compilation units

From: kbuild test robot
Date: Thu Feb 23 2017 - 07:22:46 EST


Hi Andy,

[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v4.10 next-20170223]
[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/Andy-Shevchenko/mfd-intel_soc_pmic-Fix-a-mess-with-compilation-units/20170221-034440
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: x86_64-randconfig-s1-02231720 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/built-in.o: In function `bxtwc_remove':
>> intel_soc_pmic_bxtwc.c:(.text+0x1893c7): undefined reference to `regmap_del_irq_chip'
intel_soc_pmic_bxtwc.c:(.text+0x1893d2): undefined reference to `regmap_del_irq_chip'
intel_soc_pmic_bxtwc.c:(.text+0x1893dd): undefined reference to `regmap_del_irq_chip'
drivers/built-in.o: In function `bxtwc_probe':
>> intel_soc_pmic_bxtwc.c:(.text+0x1896ec): undefined reference to `regmap_add_irq_chip'
intel_soc_pmic_bxtwc.c:(.text+0x189714): undefined reference to `regmap_add_irq_chip'
intel_soc_pmic_bxtwc.c:(.text+0x18973c): undefined reference to `regmap_add_irq_chip'
intel_soc_pmic_bxtwc.c:(.text+0x189761): undefined reference to `regmap_del_irq_chip'
intel_soc_pmic_bxtwc.c:(.text+0x18976c): undefined reference to `regmap_del_irq_chip'
intel_soc_pmic_bxtwc.c:(.text+0x189847): undefined reference to `regmap_del_irq_chip'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip