Skip to contentSkip to conversation

staging: vt6656: Add space around '|'

PATCH New Burcin Akalin 1 participant 2 messages Oct 26, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 staging: vt6656: Add space around '|'

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

---
 drivers/staging/vt6656/card.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6656/card.c +1 -1
index a215563..1301fbf 100644
@@ -82,7 +82,7 @@ void vnt_set_channel(struct vnt_private *priv, u32 connection_channel)
 					connection_channel, 0, 0, NULL);
 
 	vnt_control_out_u8(priv, MESSAGE_REQUEST_MACREG, MAC_REG_CHANNEL,
-		(u8)(connection_channel|0x80));
+		(u8)(connection_channel | 0x80));
 }
 
 /*
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 staging: vt6656: Do not use multiple blank lines.

Remove multiple blank lines. Problem found using checkpatch.pl "CHECK: Please don't use multiple blank lines"

---
 drivers/staging/vt6656/card.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/vt6656/card.c +0 -1
index 1301fbf..ad36081 100644
@@ -285,7 +285,6 @@ void vnt_set_rspinf(struct vnt_private *priv, u8 bb_type)
 	vnt_get_phy_field(priv, 14,
 		vnt_get_cck_rate(priv, RATE_11M), PK_TYPE_11B, &phy[3]);
 
-
 	/*RSPINF_a_6*/
 	vnt_calculate_ofdm_rate(RATE_6M, bb_type, &tx_rate[0], &rsv_time[0]);
 
Signature · 1 line
1.9.1