All of lore.kernel.org
 help / color / mirror / Atom feed
* dmaengine: imx-sdma: Use a single line for dma_alloc_coherent()
@ 2018-10-25 17:52 Fabio Estevam
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2018-10-25 17:52 UTC (permalink / raw)
  To: vkoul; +Cc: dmaengine, Fabio Estevam

Make the call to dma_alloc_coherent() to fit into a single line, which
helps readability.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/dma/imx-sdma.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index b4ec2d2..a2b488d 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -671,9 +671,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,
 	int ret;
 	unsigned long flags;
 
-	buf_virt = dma_alloc_coherent(NULL,
-			size,
-			&buf_phys, GFP_KERNEL);
+	buf_virt = dma_alloc_coherent(NULL, size, &buf_phys, GFP_KERNEL);
 	if (!buf_virt) {
 		return -ENOMEM;
 	}

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

* dmaengine: imx-sdma: Use a single line for dma_alloc_coherent()
@ 2018-11-24 13:38 Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2018-11-24 13:38 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: dmaengine

On 25-10-18, 14:52, Fabio Estevam wrote:
> Make the call to dma_alloc_coherent() to fit into a single line, which
> helps readability.

Applied, thanks

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

end of thread, other threads:[~2018-11-24 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25 17:52 dmaengine: imx-sdma: Use a single line for dma_alloc_coherent() Fabio Estevam
2018-11-24 13:38 Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.