lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 25 Aug 2017 19:08:38 +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/include/asm/io.h:212:17: error: too
 many arguments to function 'iounmap'

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@...ux.intel.com>
:::::: CC: Ingo Molnar <mingo@...nel.org>

---
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" (27579 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ