[PATCH v4] staging: mt7621-dma: reindent to avoid '(' at the end of line

Liu Junqi posted 1 patch 2 years, 10 months ago
drivers/staging/mt7621-dma/hsdma-mt7621.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH v4] staging: mt7621-dma: reindent to avoid '(' at the end of line
Posted by Liu Junqi 2 years, 10 months ago
A change to make the code more like typical coding style.

Signed-off-by: Liu Junqi <liujunqi@pku.edu.cn>
---
V3 -> V4: Rewrote the text below the --- line
V2 -> V3: Added describing text below the --- line
V1 -> V2: Reindented the code

 drivers/staging/mt7621-dma/hsdma-mt7621.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/mt7621-dma/hsdma-mt7621.c b/drivers/staging/mt7621-dma/hsdma-mt7621.c
index 1424d01d434b..f303579bd1a2 100644
--- a/drivers/staging/mt7621-dma/hsdma-mt7621.c
+++ b/drivers/staging/mt7621-dma/hsdma-mt7621.c
@@ -455,9 +455,9 @@ static void mtk_hsdma_issue_pending(struct dma_chan *c)
 	spin_unlock_bh(&chan->vchan.lock);
 }
 
-static struct dma_async_tx_descriptor *mtk_hsdma_prep_dma_memcpy(
-		struct dma_chan *c, dma_addr_t dest, dma_addr_t src,
-		size_t len, unsigned long flags)
+static struct dma_async_tx_descriptor *
+mtk_hsdma_prep_dma_memcpy(struct dma_chan *c, dma_addr_t dest, dma_addr_t src,
+			  size_t len, unsigned long flags)
 {
 	struct mtk_hsdma_chan *chan = to_mtk_hsdma_chan(c);
 	struct mtk_hsdma_desc *desc;
-- 
2.32.0

Re: [PATCH v4] staging: mt7621-dma: reindent to avoid '(' at the end of line
Posted by Greg KH 2 years, 10 months ago
On Sat, Nov 13, 2021 at 10:24:56PM +0800, Liu Junqi wrote:
> A change to make the code more like typical coding style.
> 
> Signed-off-by: Liu Junqi <liujunqi@pku.edu.cn>
> ---
> V3 -> V4: Rewrote the text below the --- line
> V2 -> V3: Added describing text below the --- line
> V1 -> V2: Reindented the code
> 
>  drivers/staging/mt7621-dma/hsdma-mt7621.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

This file just got deleted:
	https://lore.kernel.org/r/20211113192045.32153-1-sergio.paracuellos@gmail.com

sorry.

greg k-h