tree: git://git.cmpxchg.org/linux-mmotm.git master head: bb578c9c690d8a5525dafc52d442af18aee45280 commit: c5e151b580c322247a23827f53576261e598f26e [27/223] mm/cma: ake kmemleak ignore CMA regions config: x86_64-randconfig-ha1-1024 (attached as .config) reproduce: git checkout c5e151b580c322247a23827f53576261e598f26e # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings: mm/cma.c: In function 'cma_declare_contiguous': >> mm/cma.c:283:4: error: implicit declaration of function 'phys_to_virt' [-Werror=implicit-function-declaration] kmemleak_ignore(phys_to_virt(addr)); ^ >> mm/cma.c:283:4: warning: passing argument 1 of 'kmemleak_ignore' makes pointer from integer without a cast In file included from include/linux/slab.h:106:0, from mm/cma.c:32: include/linux/kmemleak.h:93:20: note: expected 'const void *' but argument is of type 'int' static inline void kmemleak_ignore(const void *ptr) ^ cc1: some warnings being treated as errors vim +/phys_to_virt +283 mm/cma.c 277 phys_addr_t addr = memblock_alloc_range(size, alignment, base, 278 limit); 279 if (!addr) { 280 ret = -ENOMEM; 281 goto err; 282 } else { > 283 kmemleak_ignore(phys_to_virt(addr)); 284 base = addr; 285 } 286 } --- 0-DAY kernel build testing backend Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation