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 3/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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -1
index 057a4c3..2aacb01 100644
@@ -410,7 +410,7 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 			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