]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: slicoss: Adds space around operators
authorAmarjargal Gundjalam <amarjargal.gundjalam@gmail.com>
Sun, 25 Oct 2015 14:48:56 +0000 (07:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 05:43:31 +0000 (14:43 +0900)
This patch fixes the checkpatch.pl check:

CHECK: spaces preferred around that ‘’

Signed-off-by: Amarjargal Gundjalam <amarjargal.gundjalam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slic.h
drivers/staging/slicoss/slicoss.c

index 6ccd1d5394e9dcdd049826d07ed9ea91f12f1f19..92c6862b503d89f6b5c7a684b355d956a0822679 100644 (file)
@@ -446,7 +446,7 @@ struct adapter {
        *  SLIC Handles
        */
        /* Object handles*/
-       struct slic_handle slic_handles[SLIC_CMDQ_MAXCMDS+1];
+       struct slic_handle slic_handles[SLIC_CMDQ_MAXCMDS + 1];
        /* Free object handles*/
        struct slic_handle *pfree_slic_handles;
        /* Object handle list lock*/
@@ -512,6 +512,6 @@ struct adapter {
 #define FLUSH          true
 #define DONT_FLUSH     false
 
-#define SIOCSLICSETINTAGG        (SIOCDEVPRIVATE+10)
+#define SIOCSLICSETINTAGG        (SIOCDEVPRIVATE + 10)
 
 #endif /*  __SLIC_DRIVER_H__ */
index c88ed696fe5482e021ce9246cfd68f868e7ef8d9..8ce900066b24d4ae6a3907cd6ba7a1448e1f9465 100644 (file)
@@ -160,7 +160,7 @@ static void slic_mcast_set_bit(struct adapter *adapter, char *address)
        /* Get the CRC polynomial for the mac address */
        /* we use bits 1-8 (lsb), bitwise reversed,
         * msb (= lsb bit 0 before bitrev) is automatically discarded */
-       crcpoly = ether_crc(ETH_ALEN, address)>>23;
+       crcpoly = ether_crc(ETH_ALEN, address) >> 23;
 
        /* We only have space on the SLIC for 64 entries.  Lop
         * off the top two bits. (2^6 = 64)