Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1719992

[tip:WIP.x86/apic 6/43] arch/x86//kernel/eisa.c:11:20: error: implicit declaration of function 'ioremap'

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [tip:WIP.x86/apic 6/43] arch/x86//kernel/eisa.c:11:20: error: implicit declaration of function 'ioremap'
Date 2017-08-25 13:20 +0200
Message-ID <uikOB-3kP-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[tip:WIP.x86/apic 6/43] arch/x86//kernel/eisa.c:11:20: error:  implicit declaration of function 'ioremap' kbuild test robot <fengguang.wu@intel.com> - 2017-08-25 13:20 +0200

csiph-web