Re: [PATCH v2 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 v4.7-rc7]
[also build test ERROR on next-20160715]
[cannot apply to slave-dma/next xlnx/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/20160716-044852
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All error/warnings (new ones prefixed by >>):

   drivers/dma/sh/shdma-base.c: In function 'shdma_reset':
>> drivers/dma/sh/shdma-base.c:886:29: error: storage size of 'cb' isn't known
       struct dmaengine_desc_cb cb;
                                ^
>> drivers/dma/sh/shdma-base.c:886:29: warning: unused variable 'cb' [-Wunused-variable]

vim +886 drivers/dma/sh/shdma-base.c

   880	
   881			spin_unlock(&schan->chan_lock);
   882	
   883			/* Complete all  */
   884			list_for_each_entry(sdesc, &dl, node) {
   885				struct dma_async_tx_descriptor *tx = &sdesc->async_tx;
 > 886				struct dmaengine_desc_cb cb;
   887	
   888				sdesc->mark = DESC_IDLE;
   889				dmaengine_desc_get_callback(tx, &cb);

---
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