Staging: bcm: Fix issue: "Macros with complex values should be enclosed in parenthesi...
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 22 Dec 2012 19:27:43 +0000 (14:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:56:44 +0000 (10:56 -0800)
This patch fixes the following issue: "Macros with
complex values should be enclosed in parenthesis"
as reported by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Protocol.h

index bb62e1711565e7c5525c84a0df256b5db1ca424d..a7028d5f96712b1bc051f6b0f1e0b21182e4eb19 100644 (file)
@@ -94,10 +94,10 @@ typedef enum _E_SERVICEFLOW_CS_SPEC_ {
 #define IP_VERSION(byte)       (((byte&0xF0)>>4))
 
 #define MAC_ADDRESS_SIZE       6
-#define        ETH_AND_IP_HEADER_LEN   14 + 20
+#define        ETH_AND_IP_HEADER_LEN   (14 + 20)
 #define L4_SRC_PORT_LEN                2
 #define L4_DEST_PORT_LEN       2
-#define        CTRL_PKT_LEN            8 + ETH_AND_IP_HEADER_LEN
+#define        CTRL_PKT_LEN            (8 + ETH_AND_IP_HEADER_LEN)
 
 #define        ETH_ARP_FRAME           0x806
 #define        ETH_IPV4_FRAME          0x800