aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReece R. Pollack2015-02-16 16:32:46 -0600
committerReece R. Pollack2015-02-16 16:32:46 -0600
commitb70b1c4c37a9780f6718ef722fb803012ad56c2d (patch)
tree666cf7932c46011d583bcfffae30d182bc825457
parentf38942a2307add285db400f5d2e813d01d1c0d85 (diff)
parentb03561ff560f1f4ad6fccc1047158f751897ff22 (diff)
downloadlinux-b70b1c4c37a9780f6718ef722fb803012ad56c2d.tar.gz
linux-b70b1c4c37a9780f6718ef722fb803012ad56c2d.tar.xz
linux-b70b1c4c37a9780f6718ef722fb803012ad56c2d.zip
Merge branch 'master/rebuild/23-drivers-dmaengine' into master/master
-rw-r--r--drivers/dma/keystone-pktdma.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/dma/keystone-pktdma.c b/drivers/dma/keystone-pktdma.c
index 3b56275466e..b44b5fb9102 100644
--- a/drivers/dma/keystone-pktdma.c
+++ b/drivers/dma/keystone-pktdma.c
@@ -1165,9 +1165,12 @@ static void chan_destroy_descs(struct keystone_dma_chan *chan)
1165 1165
1166 for (i = 0; i < chan->num_descs; i++) { 1166 for (i = 0; i < chan->num_descs; i++) {
1167 desc = desc_from_index(chan, i); 1167 desc = desc_from_index(chan, i);
1168 if (desc->hwdesc) 1168 if (desc->hwdesc) {
1169 dev_warn(chan_dev(chan), "%s leaked descriptor %d\n",
1170 chan->achan.name, i);
1169 desc_dump(chan, desc, "leaked descriptor"); 1171 desc_dump(chan, desc, "leaked descriptor");
1170 leaked = true; 1172 leaked = true;
1173 }
1171 } 1174 }
1172 1175
1173 if (!leaked) 1176 if (!leaked)