Skip to content

Commit

Permalink
Staging: bcm: Fix issue: "Macros with complex values should be enclos…
Browse files Browse the repository at this point in the history
…ed 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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 5f8797b commit 5a88304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/bcm/Protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a88304

Please sign in to comment.