All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: vt6655: remove multiple assignments
@ 2021-05-02 21:08 Alexander Vorwerk
  2021-05-02 21:08 ` [PATCH 1/2] staging: vt6655: remove multiple assignment Alexander Vorwerk
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexander Vorwerk @ 2021-05-02 21:08 UTC (permalink / raw)
  To: forest, gregkh; +Cc: linux-staging, linux-kernel, Alexander Vorwerk

These two patches fix two multiple assignments coding-style
issues reported by checkpatch.pl.

Alexander Vorwerk (2):
  staging: vt6655: remove multiple assignment
  staging: vt6655: remove multiple assignment

 drivers/staging/vt6655/device_main.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.17.1


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

* [PATCH 1/2] staging: vt6655: remove multiple assignment
  2021-05-02 21:08 [PATCH 0/2] staging: vt6655: remove multiple assignments Alexander Vorwerk
@ 2021-05-02 21:08 ` Alexander Vorwerk
  2021-05-02 21:08 ` [PATCH 2/2] " Alexander Vorwerk
  2021-05-03 16:42 ` [PATCH 0/2] staging: vt6655: remove multiple assignments Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Alexander Vorwerk @ 2021-05-02 21:08 UTC (permalink / raw)
  To: forest, gregkh; +Cc: linux-staging, linux-kernel, Alexander Vorwerk

removing a multiple assignment coding style issue
reported by checkpatch.pl.

Signed-off-by: Alexander Vorwerk <alec@vc-celle.de>
---
 drivers/staging/vt6655/device_main.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index 979165445d88..2e768181fa6a 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -673,7 +673,9 @@ static int device_init_td0_ring(struct vnt_private *priv)
 
 	if (i > 0)
 		priv->apTD0Rings[i - 1].next_desc = cpu_to_le32(priv->td0_pool_dma);
-	priv->apTailTD[0] = priv->apCurrTD[0] = &priv->apTD0Rings[0];
+
+	priv->apTailTD[0] = &priv->apTD0Rings[0];
+	priv->apCurrTD[0] = &priv->apTD0Rings[0];
 
 	return 0;
 
-- 
2.17.1


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

* [PATCH 2/2] staging: vt6655: remove multiple assignment
  2021-05-02 21:08 [PATCH 0/2] staging: vt6655: remove multiple assignments Alexander Vorwerk
  2021-05-02 21:08 ` [PATCH 1/2] staging: vt6655: remove multiple assignment Alexander Vorwerk
@ 2021-05-02 21:08 ` Alexander Vorwerk
  2021-05-03 16:42 ` [PATCH 0/2] staging: vt6655: remove multiple assignments Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Alexander Vorwerk @ 2021-05-02 21:08 UTC (permalink / raw)
  To: forest, gregkh; +Cc: linux-staging, linux-kernel, Alexander Vorwerk

removing a multiple assignment coding style issue
reported by checkpatch.pl.

Signed-off-by: Alexander Vorwerk <alec@vc-celle.de>
---
 drivers/staging/vt6655/device_main.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index 2e768181fa6a..3d664b87a3cc 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -715,7 +715,9 @@ static int device_init_td1_ring(struct vnt_private *priv)
 
 	if (i > 0)
 		priv->apTD1Rings[i - 1].next_desc = cpu_to_le32(priv->td1_pool_dma);
-	priv->apTailTD[1] = priv->apCurrTD[1] = &priv->apTD1Rings[0];
+
+	priv->apTailTD[1] = &priv->apTD1Rings[0];
+	priv->apCurrTD[1] = &priv->apTD1Rings[0];
 
 	return 0;
 
-- 
2.17.1


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

* Re: [PATCH 0/2] staging: vt6655: remove multiple assignments
  2021-05-02 21:08 [PATCH 0/2] staging: vt6655: remove multiple assignments Alexander Vorwerk
  2021-05-02 21:08 ` [PATCH 1/2] staging: vt6655: remove multiple assignment Alexander Vorwerk
  2021-05-02 21:08 ` [PATCH 2/2] " Alexander Vorwerk
@ 2021-05-03 16:42 ` Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2021-05-03 16:42 UTC (permalink / raw)
  To: Alexander Vorwerk; +Cc: forest, linux-staging, linux-kernel

On Sun, May 02, 2021 at 11:08:24PM +0200, Alexander Vorwerk wrote:
> These two patches fix two multiple assignments coding-style
> issues reported by checkpatch.pl.
> 
> Alexander Vorwerk (2):
>   staging: vt6655: remove multiple assignment
>   staging: vt6655: remove multiple assignment

You sent 2 patches that do different things yet have the same identical
subject line :(

Please fix up and resend.

thanks,

greg k-h

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

end of thread, other threads:[~2021-05-03 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-02 21:08 [PATCH 0/2] staging: vt6655: remove multiple assignments Alexander Vorwerk
2021-05-02 21:08 ` [PATCH 1/2] staging: vt6655: remove multiple assignment Alexander Vorwerk
2021-05-02 21:08 ` [PATCH 2/2] " Alexander Vorwerk
2021-05-03 16:42 ` [PATCH 0/2] staging: vt6655: remove multiple assignments Greg KH

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.