[lkml]   [2017]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] drivers: dma-coherent: Add support for default DMA coherent pool
Hi George,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.12]
[cannot apply to next-20170704]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: i386-randconfig-x075-07041126 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/base/dma-coherent.c: In function 'dev_get_dma_area':
>> drivers/base/dma-coherent.c:28:16: error: 'struct device' has no member named 'cma_area'; did you mean 'dma_parms'?
if (dev && dev->cma_area)

vim +28 drivers/base/dma-coherent.c

23 static inline struct dma_coherent_mem *dev_get_dma_area(struct device *dev)
24 {
25 if (dev && dev->dma_mem)
26 return dev->dma_mem;
27 #ifdef CONFIG_CMA
> 28 if (dev && dev->cma_area)
29 return NULL;
30 #endif
31 return dma_coherent_default_area ? *dma_coherent_default_area : NULL;

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2017-07-04 23:04    [W:0.079 / U:1.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site