Re: [PATCH v4 27/41] dmaengine: sh_shdma-base: convert callback to helper function

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

 



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]

url:    https://github.com/0day-ci/linux/commits/Dave-Jiang/Adding-transaction-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: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:139:1: note: declared here
    dmaengine_desc_get_callback_invoke(struct dma_async_tx_descriptor *tx,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/dmaengine_desc_get_callback_invoke +891 drivers/dma/sh/shdma-base.c

   885			/* Complete all  */
   886			list_for_each_entry(sdesc, &dl, node) {
   887				struct dma_async_tx_descriptor *tx = &sdesc->async_tx;
   888				struct dmaengine_desc_callback cb;
   889	
   890				sdesc->mark = DESC_IDLE;
 > 891				dmaengine_desc_get_callback_invoke(tx, &cb, NULL);
   892			}
   893	
   894			spin_lock(&schan->chan_lock);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[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