Re: [PATCH v6 19/34] x86/mm: Add support to access boot related data in the clear

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc4 next-20170607]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Tom-Lendacky/x86-Secure-Memory-Encryption-AMD/20170608-104147
config: i386-randconfig-x077-06040719 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # 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/dma.h:12:0,
                    from include/linux/bootmem.h:9,
                    from arch/x86/mm/ioremap.c:9:
>> arch/x86/include/asm/io.h:386:37: error: conflicting types for 'arch_memremap_can_ram_remap'
    #define arch_memremap_can_ram_remap arch_memremap_can_ram_remap
                                        ^
>> arch/x86/mm/ioremap.c:561:6: note: in expansion of macro 'arch_memremap_can_ram_remap'
    bool arch_memremap_can_ram_remap(resource_size_t phys_addr, unsigned long size,
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/io.h:384:13: note: previous declaration of 'arch_memremap_can_ram_remap' was here
    extern bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from arch/x86/include/asm/dma.h:12:0,
                    from include/linux/bootmem.h:9,
                    from arch/x86//mm/ioremap.c:9:
>> arch/x86/include/asm/io.h:386:37: error: conflicting types for 'arch_memremap_can_ram_remap'
    #define arch_memremap_can_ram_remap arch_memremap_can_ram_remap
                                        ^
   arch/x86//mm/ioremap.c:561:6: note: in expansion of macro 'arch_memremap_can_ram_remap'
    bool arch_memremap_can_ram_remap(resource_size_t phys_addr, unsigned long size,
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/io.h:384:13: note: previous declaration of 'arch_memremap_can_ram_remap' was here
    extern bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/arch_memremap_can_ram_remap +386 arch/x86/include/asm/io.h

   380	extern void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size);
   381	#define arch_io_reserve_memtype_wc arch_io_reserve_memtype_wc
   382	#endif
   383	
   384	extern bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size,
   385						unsigned long flags);
 > 386	#define arch_memremap_can_ram_remap arch_memremap_can_ram_remap
   387	
   388	#endif /* _ASM_X86_IO_H */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux