Skip to contentSkip to conversation

staging: vt6655: spaces around operators

PATCH Superseded Payal Kshirsagar 2 participants 2 messages Mar 21, 2019 Staging

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: vt6655: spaces around operators

Add spaces around operators

In v1, prefer spaces around operator.
In v2, 'prefer' changed to 'add'
and in v3, changes are mentioned.

---
 drivers/staging/vt6655/device_main.c |  2 +-
 drivers/staging/vt6655/rf.c          | 26 ++++++++++++--------------
 2 files changed, 13 insertions(+), 15 deletions(-)
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 7 lines · Payal Kshirsagar

Add spaces around operators

In v1, prefer spaces around operator.
In v2, 'prefer' changed to 'add'
and in v3, changes are mentioned.

This v2, etc stuff goes below the --. That way it will get dropped hen the patch is committed. The previous versions aren't present in git, so the history about them isn't interesting any more.

julia

Quoted 28 lines
---
 drivers/staging/vt6655/device_main.c |  2 +-
 drivers/staging/vt6655/rf.c          | 26 ++++++++++++--------------
 2 files changed, 13 insertions(+), 15 deletions(-)
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/1553159257-3568-1-git-send-email-payal.s.kshirsagar.98%40gmail.com.
For more options, visit https://groups.google.com/d/optout.