tree: git://git.cmpxchg.org/linux-mmotm.git master head: 5d74e104f9872d5fe45c56f5cafd1fc44c6f2676 commit: 69f9dba0447d9b3876b9be77f05f3a50f41bf258 [202/445] drivers: dma-coherent: add initialization from device tree config: arm-omap2plus_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 69f9dba0447d9b3876b9be77f05f3a50f41bf258 # save the attached .config to linux build tree make.cross ARCH=arm All warnings: >> drivers/base/dma-coherent.c:303:2: warning: initialization from incompatible pointer type .device_init = rmem_dma_device_init, ^ >> drivers/base/dma-coherent.c:303:2: warning: (near initialization for 'rmem_dma_ops.device_init') vim +303 drivers/base/dma-coherent.c 287 pr_info("Reserved memory: failed to init DMA memory pool at %pa, size %ld MiB\n", 288 &rmem->base, (unsigned long)rmem->size / SZ_1M); 289 return -ENODEV; 290 } 291 rmem->priv = mem; 292 dma_assign_coherent_memory(dev, mem); 293 return 0; 294 } 295 296 static void rmem_dma_device_release(struct reserved_mem *rmem, 297 struct device *dev) 298 { 299 dev->dma_mem = NULL; 300 } 301 302 static const struct reserved_mem_ops rmem_dma_ops = { > 303 .device_init = rmem_dma_device_init, 304 .device_release = rmem_dma_device_release, 305 }; 306 307 static int __init rmem_dma_setup(struct reserved_mem *rmem) 308 { 309 unsigned long node = rmem->fdt_node; 310 311 if (of_get_flat_dt_prop(node, "reusable", NULL)) --- 0-DAY kernel build testing backend Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation