Re: [staging:staging-linus 3/3] drivers/staging//android/ion/ion_cma_heap.c:47:14: error: 'CONFIG_CMA_ALIGNMENT' undeclared; did you mean 'CONFIG_CMA_AREAS'?

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

 



On Tue, Dec 12, 2017 at 10:25 PM, kbuild test robot
<fengguang.wu@xxxxxxxxx> wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-linus
> head:   d98e6dbf42f73101128885a1e0ae672cd92b2e1a
> commit: d98e6dbf42f73101128885a1e0ae672cd92b2e1a [3/3] staging: ion: Fix ion_cma_heap allocations
> config: i386-randconfig-x019-12132053 (attached as .config)
> compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
> reproduce:
>         git checkout d98e6dbf42f73101128885a1e0ae672cd92b2e1a
>         # save the attached .config to linux build tree
>         make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
>    drivers/staging//android/ion/ion_cma_heap.c: In function 'ion_cma_allocate':
>>> drivers/staging//android/ion/ion_cma_heap.c:47:14: error: 'CONFIG_CMA_ALIGNMENT' undeclared (first use in this function); did you mean 'CONFIG_CMA_AREAS'?
>      if (align > CONFIG_CMA_ALIGNMENT)
>                  ^~~~~~~~~~~~~~~~~~~~
>                  CONFIG_CMA_AREAS
>    drivers/staging//android/ion/ion_cma_heap.c:47:14: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +47 drivers/staging//android/ion/ion_cma_heap.c

Sorry about this, I guess CONFIG_CMA_ALIGNMENT isn't generically
available. I'll rework the patch to figure out how to properly
conditionalize this and resubmit.

thanks
-john
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux