dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] dmaengine: imx-sdma: clean up some inconsistent indenting
@ 2022-02-17  1:16 Yang Li
  2022-03-11  6:59 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2022-02-17  1:16 UTC (permalink / raw)
  To: vkoul
  Cc: shawnguo, s.hauer, kernel, festevam, linux-imx, dmaengine,
	linux-arm-kernel, linux-kernel, Yang Li, Abaci Robot

Eliminate the following coccicheck warning:
./drivers/dma/imx-sdma.c:896:3-16: code aligned with following code on
line 897

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/dma/imx-sdma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 8cc5103193c3..70c0aa931ddf 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -892,9 +892,9 @@ static void mxc_sdma_handle_channel_normal(struct sdma_channel *data)
 	for (i = 0; i < sdmac->desc->num_bd; i++) {
 		bd = &sdmac->desc->bd[i];
 
-		 if (bd->mode.status & (BD_DONE | BD_RROR))
+		if (bd->mode.status & (BD_DONE | BD_RROR))
 			error = -EIO;
-		 sdmac->desc->chn_real_count += bd->mode.count;
+		sdmac->desc->chn_real_count += bd->mode.count;
 	}
 
 	if (error)
-- 
2.20.1.7.g153144c


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

* Re: [PATCH -next] dmaengine: imx-sdma: clean up some inconsistent indenting
  2022-02-17  1:16 [PATCH -next] dmaengine: imx-sdma: clean up some inconsistent indenting Yang Li
@ 2022-03-11  6:59 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2022-03-11  6:59 UTC (permalink / raw)
  To: Yang Li
  Cc: shawnguo, s.hauer, kernel, festevam, linux-imx, dmaengine,
	linux-arm-kernel, linux-kernel, Abaci Robot

On 17-02-22, 09:16, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/dma/imx-sdma.c:896:3-16: code aligned with following code on
> line 897

Applied, thanks

-- 
~Vinod

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

end of thread, other threads:[~2022-03-11  6:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-17  1:16 [PATCH -next] dmaengine: imx-sdma: clean up some inconsistent indenting Yang Li
2022-03-11  6:59 ` 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).