]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: octeon: fix coding style warnings for block comments
authorOkash Khawaja <okash.khawaja@gmail.com>
Wed, 5 Aug 2015 20:13:52 +0000 (21:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Aug 2015 22:10:58 +0000 (15:10 -0700)
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.

Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rgmii.c

index beb7aac9c289077fb75af9a10eaf0375b8bb51ba..51dcb611702f1fd1f274e989a57dd14fda85982e 100644 (file)
@@ -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) {