Re: [PATCH 2/2] dmaengine: sprd: Add Spreadtrum DMA configuration

From: Baolin Wang
Date: Mon May 07 2018 - 03:58:57 EST


On 5 May 2018 at 13:54, kbuild test robot <lkp@xxxxxxxxx> wrote:
> Hi Eric,
>
> Thank you for the patch! Perhaps something to improve:
>
> [auto build test WARNING on slave-dma/next]
> [also build test WARNING on next-20180504]
> [cannot apply to linus/master v4.17-rc3]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Baolin-Wang/dmaengine-sprd-Optimize-the-sprd_dma_prep_dma_memcpy/20180505-071137
> base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/slave-dma.git next
> reproduce:
> # apt-get install sparse
> make ARCH=x86_64 allmodconfig
> make C=1 CF=-D__CHECK_ENDIAN__
>
>
> sparse warnings: (new ones prefixed by >>)
>
>>> drivers/dma/sprd-dma.c:780:57: sparse: mixing different enum types
> drivers/dma/sprd-dma.c:780:57: int enum dma_slave_buswidth versus
> drivers/dma/sprd-dma.c:780:57: int enum sprd_dma_datawidth
> drivers/dma/sprd-dma.c:787:57: sparse: mixing different enum types
> drivers/dma/sprd-dma.c:787:57: int enum dma_slave_buswidth versus
> drivers/dma/sprd-dma.c:787:57: int enum sprd_dma_datawidth
>
> vim +780 drivers/dma/sprd-dma.c

Sorry, It's one mistake. Eric will fix it in next version.

--
Baolin.wang
Best Regards