Skip to contentSkip to conversation

staging: sm750fb: Add space around '*'

PATCH New Amitoj Kaur Chawla 1 participant 1 message Oct 4, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/4 staging: sm750fb: Add space around '*'

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

---
 drivers/staging/sm750fb/ddk750_chip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +2 -2
index 8d167fc..057a4c3 100644
@@ -407,10 +407,10 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 
 		for (d = xcnt - 1; d >= 0; d--) {
 			X = xparm[d].value;
-			M = quo*X;
+			M = quo * X;
 			M += fl_quo * X / 10000;
 			/* round step */
-			M += (fl_quo*X % 10000) > 5000?1:0;
+			M += (fl_quo * X % 10000) > 5000?1:0;
 			if (M < 256 && M > 0) {
 				unsigned int diff;
 
Signature · 1 line
1.9.1