Skip to contentSkip to conversation

staging: vt6655: spaces around operators

PATCH In review Payal Kshirsagar 2 participants 3 messages Mar 21, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6655: spaces around operators

Prefer spaces around operators

---
 drivers/staging/vt6655/device_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/device_main.c +1 -1
index b370985..866d794 100644
@@ -592,7 +592,7 @@ static int device_init_rd1_ring(struct vnt_private *priv)
 			goto err_free_rd;
 		}
 
-		desc->next = &priv->aRD1Ring[(i+1) % priv->opts.rx_descs1];
+		desc->next = &priv->aRD1Ring[(i + 1) % priv->opts.rx_descs1];
 		desc->next_desc = cpu_to_le32(curr + sizeof(struct vnt_rx_desc));
 	}
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 1 line · Payal Kshirsagar

Prefer spaces around operators

Prefer -> Add

Add would say what you actually did.

julia

Quoted 29 lines
---
 drivers/staging/vt6655/device_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/device_main.c +1 -2
index b370985..866d794 100644
@@ -592,7 +592,7 @@ static int device_init_rd1_ring(struct vnt_private *priv)
 			goto err_free_rd;
 		}
 
-		desc->next = &priv->aRD1Ring[(i+1) % priv->opts.rx_descs1];
+		desc->next = &priv->aRD1Ring[(i + 1) % priv->opts.rx_descs1];
 		desc->next_desc = cpu_to_le32(curr + sizeof(struct vnt_rx_desc));
 	}
 
--

2.7.4

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1553149424-7694-1-git-send-email-payal.s.kshirsagar.98%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw
Quoted 4 lines · Julia Lawall

On Thu, 21 Mar 2019, Payal Kshirsagar wrote:

Quoted 8 lines
Quoted 1 line

Prefer spaces around operators

Prefer -> Add

Add would say what you actually did.

julia

Okay, I will resend it.
payal

Quoted 39 lines

Review

Quoted 8 lines
---
 drivers/staging/vt6655/device_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/staging/vt6655/device_main.c

drivers/staging/vt6655/device_main.c static int device_init_rd1_ring(struct vnt_private

Quoted 4 lines

index b370985..866d794 100644

drivers/staging/vt6655/device_main.c +0 -0
@@ -592,7 +592,7 @@ static int device_init_rd1_ring(struct vnt_private

*priv)

drivers/staging/vt6655/device_main.c static int device_init_rd1_ring(struct vnt_private *priv)

Quoted 5 lines
drivers/staging/vt6655/device_main.c +1 -1
                      goto err_free_rd;
              }
 
-             desc->next = &priv->aRD1Ring[(i+1) % priv->opts.rx_descs1];
+             desc->next = &priv->aRD1Ring[(i + 1) %

priv->opts.rx_descs1];

drivers/staging/vt6655/device_main.c static int device_init_rd1_ring(struct vnt_private · line 596

Quoted 1 line
drivers/staging/vt6655/device_main.c +0 -0
              desc->next_desc = cpu_to_le32(curr + sizeof(struct

vnt_rx_desc));

Quoted 7 lines
drivers/staging/vt6655/device_main.c +0 -1
      }
 
--

2.7.4

--
You received this message because you are subscribed to the Google

Groups "outreachy-kernel" group.

Quoted 1 line

To unsubscribe from this group and stop receiving emails from it, send

an email to [email protected].

Quoted 2 lines

To post to this group, send email to [email protected]. To view this discussion on the web visit

https://groups.google.com/d/msgid/outreachy-kernel/1553149424-7694-1-git-send-email-payal.s.kshirsagar.98%40gmail.com
.

Quoted 2 lines

For more options, visit https://groups.google.com/d/optout.