TO: Ludovic Desroches <[email protected]>
CC: Vinod Koul <[email protected]>

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/slave-dma.git 
for-linus
head:   0005e0d58cee6b4c48416a44619df24214aa8670
commit: e1f7c9eee70730d7e6ec77f7ecc76f936e262cf0 [1/37] dmaengine: at_xdmac: 
creation of the atmel eXtended DMA Controller driver
:::::: branch date: 4 hours ago
:::::: commit date: 6 days ago

drivers/dma/at_xdmac.c:933 at_xdmac_tx_status() warn: inconsistent returns 
'spin_lock:&atchan->lock'.
drivers/dma/at_xdmac.c:933 at_xdmac_tx_status() warn: inconsistent returns 
'bottom_half:'.

git remote add slave-dma 
git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/slave-dma.git
git remote update slave-dma
git checkout e1f7c9eee70730d7e6ec77f7ecc76f936e262cf0
vim +933 drivers/dma/at_xdmac.c

e1f7c9ee Ludovic Desroches 2014-10-22  917      descs_list = &desc->descs_list;
e1f7c9ee Ludovic Desroches 2014-10-22  918      list_for_each_entry_safe(desc, 
_desc, descs_list, desc_node) {
e1f7c9ee Ludovic Desroches 2014-10-22  919              residue -= 
(desc->lld.mbr_ubc & 0xffffff) << dwidth;
e1f7c9ee Ludovic Desroches 2014-10-22  920              if ((desc->lld.mbr_nda 
& 0xfffffffc) == cur_nda)
e1f7c9ee Ludovic Desroches 2014-10-22  921                      break;
e1f7c9ee Ludovic Desroches 2014-10-22  922      }
e1f7c9ee Ludovic Desroches 2014-10-22  923      residue += 
at_xdmac_chan_read(atchan, AT_XDMAC_CUBC) << dwidth;
e1f7c9ee Ludovic Desroches 2014-10-22  924  
e1f7c9ee Ludovic Desroches 2014-10-22  925      spin_unlock_bh(&atchan->lock);
e1f7c9ee Ludovic Desroches 2014-10-22  926  
e1f7c9ee Ludovic Desroches 2014-10-22  927      dma_set_residue(txstate, 
residue);
e1f7c9ee Ludovic Desroches 2014-10-22  928  
e1f7c9ee Ludovic Desroches 2014-10-22  929      dev_dbg(chan2dev(chan),
e1f7c9ee Ludovic Desroches 2014-10-22  930               "%s: desc=0x%p, 
tx_dma_desc.phys=0x%08x, tx_status=%d, cookie=%d, residue=%d\n",
e1f7c9ee Ludovic Desroches 2014-10-22  931               __func__, desc, 
desc->tx_dma_desc.phys, ret, cookie, residue);
e1f7c9ee Ludovic Desroches 2014-10-22  932  
e1f7c9ee Ludovic Desroches 2014-10-22 @933      return ret;
e1f7c9ee Ludovic Desroches 2014-10-22  934  }
e1f7c9ee Ludovic Desroches 2014-10-22  935  
e1f7c9ee Ludovic Desroches 2014-10-22  936  /* Call must be protected by lock. 
*/
e1f7c9ee Ludovic Desroches 2014-10-22  937  static void 
at_xdmac_remove_xfer(struct at_xdmac_chan *atchan,
e1f7c9ee Ludovic Desroches 2014-10-22  938                                  
struct at_xdmac_desc *desc)
e1f7c9ee Ludovic Desroches 2014-10-22  939  {
e1f7c9ee Ludovic Desroches 2014-10-22  940      
dev_dbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc);
e1f7c9ee Ludovic Desroches 2014-10-22  941  

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to