Re: [PATCH v4 36/41] dmaengine: add support to provide error result from a DMA transation

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

 



On Mon, 2016-07-25 at 07:59 +0800, kbuild test robot wrote:
> Hi,
> 
> [auto build test ERROR on stable/master]
> [if your patch is applied to the wrong git tree, please drop us a
> note to help improve the system]

Same issue as the other one. Fixed by posted patch already.
http://www.spinics.net/lists/dmaengine/msg10509.html

> 
> url:    https://github.com/0day-ci/linux/commits/Dave-Jiang/Adding-tr
> ansaction-result-return-for-dmaengine/20160725-041345
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-
> stable.git master
> config: i386-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/dma/sh/shdma-base.c: In function 'shdma_reset':
> > 
> > > 
> > > drivers/dma/sh/shdma-base.c:891:43: error: passing argument 2 of
> > > 'dmaengine_desc_get_callback_invoke' from incompatible pointer
> > > type [-Werror=incompatible-pointer-types]
>        dmaengine_desc_get_callback_invoke(tx, &cb, NULL);
>                                               ^
>    In file included from drivers/dma/sh/shdma-base.c:26:0:
>    drivers/dma/sh/../dmaengine.h:151:1: note: expected 'const struct
> dmaengine_result *' but argument is of type 'struct
> dmaengine_desc_callback *'
>     dmaengine_desc_get_callback_invoke(struct dma_async_tx_descriptor
> *tx,
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    drivers/dma/sh/shdma-base.c:891:4: error: too many arguments to
> function 'dmaengine_desc_get_callback_invoke'
>        dmaengine_desc_get_callback_invoke(tx, &cb, NULL);
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    In file included from drivers/dma/sh/shdma-base.c:26:0:
>    drivers/dma/sh/../dmaengine.h:151:1: note: declared here
>     dmaengine_desc_get_callback_invoke(struct dma_async_tx_descriptor
> *tx,
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    cc1: some warnings being treated as errors
> 
> vim +/dmaengine_desc_get_callback_invoke +891 drivers/dma/sh/shdma-
> base.c
> 
> 9a7b8e00 Guennadi Liakhovetski 2012-05-09  885  		/*
> Complete all  */
> 9a7b8e00 Guennadi Liakhovetski 2012-05-09  886  		list_
> for_each_entry(sdesc, &dl, node) {
> 9a7b8e00 Guennadi Liakhovetski 2012-05-09  887  			
> struct dma_async_tx_descriptor *tx = &sdesc->async_tx;
> 308355fe Dave Jiang            2016-07-20  888  			
> struct dmaengine_desc_callback cb;
> 308355fe Dave Jiang            2016-07-20  889  
> 9a7b8e00 Guennadi Liakhovetski 2012-05-09  890  			
> sdesc->mark = DESC_IDLE;
> 308355fe Dave Jiang            2016-07-20 @891  			
> dmaengine_desc_get_callback_invoke(tx, &cb, NULL);
> 9a7b8e00 Guennadi Liakhovetski 2012-05-09  892  		}
> 9a7b8e00 Guennadi Liakhovetski 2012-05-09  893  
> 9a7b8e00 Guennadi Liakhovetski 2012-05-09  894  		spin_
> lock(&schan->chan_lock);
> 
> :::::: The code at line 891 was first introduced by commit
> :::::: 308355fe39f295fa1c1e1e0180824c5956f2d6c6 dmaengine: sh_shdma-
> base: convert callback to helper function
> 
> :::::: TO: Dave Jiang <dave.jiang@xxxxxxxxx>
> :::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source
> Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel
> Corporation��.n��������+%������w��{.n��������)�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux