All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] [Outreachy kernel] staging: vt6655: spaces around operators
@ 2019-03-21  9:07 Payal Kshirsagar
  2019-03-21  9:09 ` Julia Lawall
  0 siblings, 1 reply; 2+ messages in thread
From: Payal Kshirsagar @ 2019-03-21  9:07 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Payal Kshirsagar

Add spaces around operators

Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>

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(-)

diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index b370985..866d794 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -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



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

end of thread, other threads:[~2019-03-21  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21  9:07 [PATCH v3] [Outreachy kernel] staging: vt6655: spaces around operators Payal Kshirsagar
2019-03-21  9:09 ` Julia Lawall

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.