Commit 0d45ffcd authored by Amarjargal Gundjalam's avatar Amarjargal Gundjalam Committed by Greg Kroah-Hartman

staging: slicoss: Adds space around operators

This patch fixes the checkpatch.pl check:

CHECK: spaces preferred around that ‘’
Signed-off-by: default avatarAmarjargal Gundjalam <amarjargal.gundjalam@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8610cbc5
...@@ -446,7 +446,7 @@ struct adapter { ...@@ -446,7 +446,7 @@ struct adapter {
* SLIC Handles * SLIC Handles
*/ */
/* Object handles*/ /* Object handles*/
struct slic_handle slic_handles[SLIC_CMDQ_MAXCMDS+1]; struct slic_handle slic_handles[SLIC_CMDQ_MAXCMDS + 1];
/* Free object handles*/ /* Free object handles*/
struct slic_handle *pfree_slic_handles; struct slic_handle *pfree_slic_handles;
/* Object handle list lock*/ /* Object handle list lock*/
...@@ -512,6 +512,6 @@ struct adapter { ...@@ -512,6 +512,6 @@ struct adapter {
#define FLUSH true #define FLUSH true
#define DONT_FLUSH false #define DONT_FLUSH false
#define SIOCSLICSETINTAGG (SIOCDEVPRIVATE+10) #define SIOCSLICSETINTAGG (SIOCDEVPRIVATE + 10)
#endif /* __SLIC_DRIVER_H__ */ #endif /* __SLIC_DRIVER_H__ */
...@@ -160,7 +160,7 @@ static void slic_mcast_set_bit(struct adapter *adapter, char *address) ...@@ -160,7 +160,7 @@ static void slic_mcast_set_bit(struct adapter *adapter, char *address)
/* Get the CRC polynomial for the mac address */ /* Get the CRC polynomial for the mac address */
/* we use bits 1-8 (lsb), bitwise reversed, /* we use bits 1-8 (lsb), bitwise reversed,
* msb (= lsb bit 0 before bitrev) is automatically discarded */ * 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 /* We only have space on the SLIC for 64 entries. Lop
* off the top two bits. (2^6 = 64) * off the top two bits. (2^6 = 64)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment