Skip to contentSkip to conversation

Staging: vt6655: Add space around '%'

PATCH New Dilek Uzulmez 1 participant 1 message Oct 8, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: vt6655: Add space around '%'

Add space around operator '%'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '%' (ctx:VxV)

---
 drivers/staging/vt6655/card.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/card.c +1 -1
index dbcea44..944ebcf 100644
@@ -915,7 +915,7 @@ u64 CARDqGetTSFOffset(unsigned char byRxRate, u64 qwTSF1, u64 qwTSF2)
 	u64 qwTSFOffset = 0;
 	unsigned short wRxBcnTSFOffst;
 
-	wRxBcnTSFOffst = cwRXBCNTSFOff[byRxRate%MAX_RATE];
+	wRxBcnTSFOffst = cwRXBCNTSFOff[byRxRate % MAX_RATE];
 
 	qwTSF2 += (u64)wRxBcnTSFOffst;
 
Signature · 1 line
1.9.1