summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-12-22 14:27:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 10:56:44 -0800
commit5a88304e568e0c6176ebd85fc08d535a4f02a97a (patch)
tree1178ebf46f3eba8322012f18306569a8e14db06b /drivers/staging/bcm
parent5f8797b64f62662f36814db36409720eac02a5a4 (diff)
Staging: bcm: Fix issue: "Macros with complex values should be enclosed in parenthesis" in Protocol.h
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>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r--drivers/staging/bcm/Protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Protocol.h b/drivers/staging/bcm/Protocol.h
index bb62e1711565..a7028d5f9671 100644
--- a/drivers/staging/bcm/Protocol.h
+++ b/drivers/staging/bcm/Protocol.h
@@ -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