Hi Jesper, Thank you for the patch! Yet something to improve:
[auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Jesper-Dangaard-Brouer/XDP-redirect-memory-return-API/20180330-203122 config: arm-multi_v5_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): In file included from arch/arm/mach-orion5x/common.c:28:0: >> arch/arm/include/asm/mach/map.h:55:8: error: 'mem_type' defined as wrong >> kind of tag struct mem_type; ^~~~~~~~ vim +/mem_type +55 arch/arm/include/asm/mach/map.h e5c5f2ad arch/arm/include/asm/mach/map.h Rob Herring 2012-10-22 54 69d3a84a arch/arm/include/asm/mach/map.h Hiroshi DOYU 2009-01-28 @55 struct mem_type; 69d3a84a arch/arm/include/asm/mach/map.h Hiroshi DOYU 2009-01-28 56 extern const struct mem_type *get_mem_type(unsigned int type); 69d3a84a arch/arm/include/asm/mach/map.h Hiroshi DOYU 2009-01-28 57 /* 69d3a84a arch/arm/include/asm/mach/map.h Hiroshi DOYU 2009-01-28 58 * external interface to remap single page with appropriate type 69d3a84a arch/arm/include/asm/mach/map.h Hiroshi DOYU 2009-01-28 59 */ 69d3a84a arch/arm/include/asm/mach/map.h Hiroshi DOYU 2009-01-28 60 extern int ioremap_page(unsigned long virt, unsigned long phys, 69d3a84a arch/arm/include/asm/mach/map.h Hiroshi DOYU 2009-01-28 61 const struct mem_type *mtype); 092c1952 include/asm-arm/mach/map.h Russell King 2006-06-24 62 #else 092c1952 include/asm-arm/mach/map.h Russell King 2006-06-24 63 #define iotable_init(map,num) do { } while (0) c2794437 arch/arm/include/asm/mach/map.h Rob Herring 2012-02-29 64 #define vm_reserve_area_early(a,s,c) do { } while (0) c2794437 arch/arm/include/asm/mach/map.h Rob Herring 2012-02-29 65 #endif c2794437 arch/arm/include/asm/mach/map.h Rob Herring 2012-02-29 66 :::::: The code at line 55 was first introduced by commit :::::: 69d3a84a646d6ad6cd693a7a3d5b9af414113d2c omap iommu: simple virtual address space management :::::: TO: Hiroshi DOYU <hiroshi.d...@nokia.com> :::::: CC: Hiroshi DOYU <hiroshi.d...@nokia.com> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip