From: Kevin McKinney Date: Sat, 1 Dec 2012 06:15:47 +0000 (-0500) Subject: Staging: bcm: Enclose complex values in parenthesis in nvm.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e5b2445e4608219fe5b9dfea0485200a34360814;p=openwrt%2Fstaging%2Fblogic.git Staging: bcm: Enclose complex values in parenthesis in nvm.h This patch fixes the warning: "Macros with complex values should be enclosed in parenthesis" as reported by checkpatch.pl Signed-off-by: Kevin McKinney Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/nvm.h b/drivers/staging/bcm/nvm.h index 36a970718ed9..a7b2d3f52b7c 100644 --- a/drivers/staging/bcm/nvm.h +++ b/drivers/staging/bcm/nvm.h @@ -265,10 +265,10 @@ typedef struct _ISO_HEADER { #define CORRUPTED_PATTERN 0x0 #define UNINIT_PTR_IN_CS 0xBBBBDDDD #define VENDOR_PTR_IN_CS 0xAAAACCCC -#define FLASH2X_SECTION_PRESENT 1 << 0 -#define FLASH2X_SECTION_VALID 1 << 1 -#define FLASH2X_SECTION_RO 1 << 2 -#define FLASH2X_SECTION_ACT 1 << 3 +#define FLASH2X_SECTION_PRESENT (1 << 0) +#define FLASH2X_SECTION_VALID (1 << 1) +#define FLASH2X_SECTION_RO (1 << 2) +#define FLASH2X_SECTION_ACT (1 << 3) #define SECTOR_IS_NOT_WRITABLE STATUS_FAILURE #define INVALID_OFFSET STATUS_FAILURE #define INVALID_SECTION STATUS_FAILURE