lkml.org 
[lkml]   [2017]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[tip:WIP.x86/apic 6/43] arch/x86//kernel/eisa.c:11:20: error: implicit declaration of function 'ioremap'
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-x019-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 >>):

arch/x86//kernel/eisa.c: In function 'eisa_bus_probe':
>> arch/x86//kernel/eisa.c:11:20: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
void __iomem *p = ioremap(0x0FFFD9, 4);
^~~~~~~
>> arch/x86//kernel/eisa.c:11:20: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>> arch/x86//kernel/eisa.c:13:6: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]
if (readl(p) == 'E' + ('I'<<8) + ('S'<<16) + ('A'<<24))
^~~~~
>> arch/x86//kernel/eisa.c:15:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
iounmap(p, 4);
^~~~~~~
cc1: some warnings being treated as errors

vim +/ioremap +11 arch/x86//kernel/eisa.c

8
9 static __init int eisa_bus_probe(void)
10 {
> 11 void __iomem *p = ioremap(0x0FFFD9, 4);
12
> 13 if (readl(p) == 'E' + ('I'<<8) + ('S'<<16) + ('A'<<24))
14 EISA_bus = 1;
> 15 iounmap(p, 4);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-08-25 13:16    [W:0.026 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site