[tip:WIP.x86/apic 6/43] arch/x86/include/asm/io.h:212:17: error: too many arguments to function 'iounmap'
From: kbuild test robot
Date: Fri Aug 25 2017 - 07:09:22 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/apic
head: 395b2c62edea5a2bb8a8786392feb12fae5917a7
commit: 2866949a138470c4a0a5b048b47d081618ce4278 [6/43] x86/boot: Move EISA setup to a proper place
config: i386-randconfig-x076-201734 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 2866949a138470c4a0a5b048b47d081618ce4278
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/realmode.h:5:0,
from arch/x86/include/asm/acpi.h:33,
from arch/x86/include/asm/fixmap.h:19,
from arch/x86/include/asm/apic.h:10,
from arch/x86/include/asm/smp.h:12,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/idr.h:16,
from include/linux/kernfs.h:14,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/device.h:17,
from include/linux/eisa.h:5,
from arch/x86/kernel/eisa.c:7:
arch/x86/kernel/eisa.c: In function 'eisa_bus_probe':
>> arch/x86/include/asm/io.h:212:17: error: too many arguments to function 'iounmap'
#define iounmap iounmap
^
>> arch/x86/kernel/eisa.c:15:2: note: in expansion of macro 'iounmap'
iounmap(p, 4);
^~~~~~~
arch/x86/include/asm/io.h:211:13: note: declared here
extern void iounmap(volatile void __iomem *addr);
^~~~~~~
--
In file included from arch/x86/include/asm/realmode.h:5:0,
from arch/x86/include/asm/acpi.h:33,
from arch/x86/include/asm/fixmap.h:19,
from arch/x86/include/asm/apic.h:10,
from arch/x86/include/asm/smp.h:12,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/idr.h:16,
from include/linux/kernfs.h:14,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/device.h:17,
from include/linux/eisa.h:5,
from arch/x86//kernel/eisa.c:7:
arch/x86//kernel/eisa.c: In function 'eisa_bus_probe':
>> arch/x86/include/asm/io.h:212:17: error: too many arguments to function 'iounmap'
#define iounmap iounmap
^
arch/x86//kernel/eisa.c:15:2: note: in expansion of macro 'iounmap'
iounmap(p, 4);
^~~~~~~
arch/x86/include/asm/io.h:211:13: note: declared here
extern void iounmap(volatile void __iomem *addr);
^~~~~~~
vim +/iounmap +212 arch/x86/include/asm/io.h
133822c5 Jeremy Fitzhardinge 2009-02-06 210
133822c5 Jeremy Fitzhardinge 2009-02-06 211 extern void iounmap(volatile void __iomem *addr);
80b9ece1 Andy Shevchenko 2017-06-30 @212 #define iounmap iounmap
133822c5 Jeremy Fitzhardinge 2009-02-06 213
:::::: The code at line 212 was first introduced by commit
:::::: 80b9ece1339374444f08da46fa2383019fcf4374 x86/io: Define IO accessors by preprocessor
:::::: TO: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip