Skip to contentSkip to conversation

staging: octeon: fix coding style warnings for block comments

PATCH New Okash Khawaja 1 participant 1 message Aug 5, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: octeon: fix coding style warnings for block comments

The Linux kernel coding style suggests starting every line in a block comment with an asterisk and finishing the block comment with */ on a separate line. This patch fixes those warnings, clearing all warnings and errors in this file, as reported by the checkpatch script.

---
 drivers/staging/octeon/ethernet-rgmii.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/staging/octeon/ethernet-rgmii.c +4 -3
index beb7aac..51dcb61 100644
@@ -118,9 +118,10 @@ static void cvm_oct_rgmii_poll(struct net_device *dev)
 	}
 
 	/* Since the 10Mbps preamble workaround is allowed we need to enable
-	   preamble checking, FCS stripping, and clear error bits on
-	   every speed change. If errors occur during 10Mbps operation
-	   the above code will change this stuff */
+	 * preamble checking, FCS stripping, and clear error bits on
+	 * every speed change. If errors occur during 10Mbps operation
+	 * the above code will change this stuff
+	 */
 	cvm_oct_set_hw_preamble(priv, true);
 
 	if (priv->phydev == NULL) {
Signature · 1 line
2.4.1