Re: [PATCH 12/15] dmaengine: pxa: make the filter function internal
From: Arnd Bergmann
Date: Tue Apr 03 2018 - 03:13:49 EST
On Mon, Apr 2, 2018 at 6:35 PM, kbuild test robot <lkp@xxxxxxxxx> wrote:
>
> drivers/mtd/nand/marvell_nand.c:2621:17: sparse: undefined identifier 'pxad_filter_fn'
>>> drivers/mtd/nand/marvell_nand.c:2621:17: sparse: call with no type!
> In file included from drivers/mtd/nand/marvell_nand.c:21:0:
> drivers/mtd/nand/marvell_nand.c: In function 'marvell_nfc_init_dma':
> drivers/mtd/nand/marvell_nand.c:2621:42: error: 'pxad_filter_fn' undeclared (first use in this function); did you mean 'dma_filter_fn'?
> dma_request_slave_channel_compat(mask, pxad_filter_fn,
> ^
> include/linux/dmaengine.h:1408:46: note: in definition of macro 'dma_request_slave_channel_compat'
> __dma_request_slave_channel_compat(&(mask), x, y, dev, name)
> ^
> drivers/mtd/nand/marvell_nand.c:2621:42: note: each undeclared identifier is reported only once for each function it appears in
> dma_request_slave_channel_compat(mask, pxad_filter_fn,
> ^
> include/linux/dmaengine.h:1408:46: note: in definition of macro 'dma_request_slave_channel_compat'
> __dma_request_slave_channel_compat(&(mask), x, y, dev, name)
The driver is a replacement for the pxa3xx nand driver, so it now has
to get changed as well.
Arnd