linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dmaengine: at_hdmac: fix comment in atc_prep_slave_sg()
@ 2012-09-11 15:21 Nicolas Ferre
  2012-09-11 15:21 ` [PATCH 2/2] dmaengine: at_hdmac: check that each sg data length is non-null Nicolas Ferre
  2012-09-14  2:57 ` [PATCH 1/2] dmaengine: at_hdmac: fix comment in atc_prep_slave_sg() Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Ferre @ 2012-09-11 15:21 UTC (permalink / raw)
  To: vinod.koul
  Cc: linux-arm-kernel, plagnioj, linux-kernel, ludovic.desroches,
	nicolas.ferre

s/dma_memcpy/slave_sg/ and it is sg length that we are
talking about.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Stable <stable@vger.kernel.org> [2.6.31+]
---
 drivers/dma/at_hdmac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index 3934fcc..6c09e18 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -661,7 +661,7 @@ atc_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
 			flags);
 
 	if (unlikely(!atslave || !sg_len)) {
-		dev_dbg(chan2dev(chan), "prep_dma_memcpy: length is zero!\n");
+		dev_dbg(chan2dev(chan), "prep_slave_sg: sg length is zero!\n");
 		return NULL;
 	}
 
-- 
1.7.10


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-14  3:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-11 15:21 [PATCH 1/2] dmaengine: at_hdmac: fix comment in atc_prep_slave_sg() Nicolas Ferre
2012-09-11 15:21 ` [PATCH 2/2] dmaengine: at_hdmac: check that each sg data length is non-null Nicolas Ferre
2012-09-14  2:57 ` [PATCH 1/2] dmaengine: at_hdmac: fix comment in atc_prep_slave_sg() Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).