[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201708251949.blvgMr1c%fengguang.wu@intel.com>
Date: Fri, 25 Aug 2017 19:15:51 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
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
Download attachment ".config.gz" of type "application/gzip" (22549 bytes)
Powered by blists - more mailing lists