All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: vt6656: Add spaces around '+' operator
@ 2016-09-26 17:48 Martin Alonso
  2016-09-26 18:02 ` Joe Perches
  2016-09-27 11:10 ` [PATCH] staging: vt6656: Add spaces around '+' operator Greg KH
  0 siblings, 2 replies; 11+ messages in thread
From: Martin Alonso @ 2016-09-26 17:48 UTC (permalink / raw)
  To: forest, gregkh, pasteka; +Cc: devel, linux-kernel, Martin Alonso

Fix coding style issue "spaces preferred around '+'
detected by checkpatch.pl in dpc.c file.

Signed-off-by: Martin Alonso <martin.alonso@zoho.com>
---
 drivers/staging/vt6656/dpc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/vt6656/dpc.c b/drivers/staging/vt6656/dpc.c
index 6019aac..900cd5c 100644
--- a/drivers/staging/vt6656/dpc.c
+++ b/drivers/staging/vt6656/dpc.c
@@ -75,8 +75,8 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
 
 	skb_data = (u8 *)skb->data;
 
-	rx_sts = skb_data+4;
-	rx_rate = skb_data+5;
+	rx_sts = skb_data + 4;
+	rx_rate = skb_data + 5;
 
 	/* real Frame Size = USBframe_size -4WbkStatus - 4RxStatus */
 	/* -8TSF - 4RSR - 4SQ3 - ?Padding */
-- 
2.8.0

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

end of thread, other threads:[~2016-09-30 19:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-26 17:48 [PATCH] staging: vt6656: Add spaces around '+' operator Martin Alonso
2016-09-26 18:02 ` Joe Perches
2016-09-27 16:59   ` Martin Alonso
2016-09-27 17:52     ` [PATCH 1/2] staging: vt6656: Remove unused variable 'rx_sts' Martin Alonso
2016-09-27 17:52       ` [PATCH 2/2] staging: vt6656: Make 'rx_rate' u8 instead of u8 * Martin Alonso
2016-09-28  7:40         ` Dan Carpenter
2016-09-30 18:53           ` Malcolm Priestley
2016-09-30 19:37             ` Dan Carpenter
2016-09-28  9:34         ` Greg KH
2016-09-27 11:10 ` [PATCH] staging: vt6656: Add spaces around '+' operator Greg KH
2016-09-27 11:49   ` Martin Alonso

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.