Staging: bcm: Enclose complex values in parenthesis in nvm.h
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 1 Dec 2012 06:15:47 +0000 (01:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:45:49 +0000 (10:45 -0800)
This patch fixes the warning: "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/nvm.h

index 36a970718ed969f5ed8244e85824ca6b9de5d8b9..a7b2d3f52b7c224e53493da7b359570a1be6bd4b 100644 (file)
@@ -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