Skip to contentSkip to conversation

staging: vt6655: Add space around '*'

PATCH In review Burcin Akalin 2 participants 2 messages Oct 21, 2015 – Oct 22, 2015 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 ecbe94f..6989050 100644
@@ -238,7 +238,7 @@ bool CARDbSetPhyParameter(struct vnt_private *pDevice, u8 bb_type)
 		BBbWriteEmbedded(pDevice, 0x88, 0x03);
 		bySlot = C_SLOT_SHORT;
 		bySIFS = C_SIFS_A;
-		byDIFS = C_SIFS_A + 2*C_SLOT_SHORT;
+		byDIFS = C_SIFS_A + 2 * C_SLOT_SHORT;
 		byCWMaxMin = 0xA4;
 	} else if (bb_type == BB_TYPE_11B) {
 		MACvSetBBType(pDevice->PortOffset, BB_TYPE_11B);
Signature · 1 line
1.9.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Burcin Akalin

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

Quoted 20 lines
---
 drivers/staging/vt6655/card.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6655/card.c +1 -2
index ecbe94f..6989050 100644
@@ -238,7 +238,7 @@ bool CARDbSetPhyParameter(struct vnt_private *pDevice, u8 bb_type)
                BBbWriteEmbedded(pDevice, 0x88, 0x03);
                bySlot = C_SLOT_SHORT;
                bySIFS = C_SIFS_A;
-               byDIFS = C_SIFS_A + 2*C_SLOT_SHORT;
+               byDIFS = C_SIFS_A + 2 * C_SLOT_SHORT;
                byCWMaxMin = 0xA4;
        } else if (bb_type == BB_TYPE_11B) {
                MACvSetBBType(pDevice->PortOffset, BB_TYPE_11B);
--

1.9.1