Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218806
b: refs/heads/master
c: 8b64922
h: refs/heads/master
v: v3
  • Loading branch information
Koul, Vinod authored and Dan Williams committed Oct 7, 2010
1 parent 763f6f1 commit 2e560b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 576e3c394a6c427c9a1378ec88ef7eb97e731992
refs/heads/master: 8b6492231d2a92352a6371eebd622e3bc824a663
6 changes: 3 additions & 3 deletions trunk/drivers/dma/intel_mid_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,15 +581,15 @@ static struct dma_async_tx_descriptor *intel_mid_dma_prep_memcpy(
enum intel_mid_dma_width width = 0;

pr_debug("MDMA: Prep for memcpy\n");
WARN_ON(!chan);
BUG_ON(!chan);
if (!len)
return NULL;

mids = chan->private;
WARN_ON(!mids);
BUG_ON(!mids);

midc = to_intel_mid_dma_chan(chan);
WARN_ON(!midc);
BUG_ON(!midc);

pr_debug("MDMA:called for DMA %x CH %d Length %zu\n",
midc->dma->pci_id, midc->ch_id, len);
Expand Down

0 comments on commit 2e560b5

Please sign in to comment.