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@xxxxxxxxx> --- drivers/staging/bcm/nvm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/bcm/nvm.h b/drivers/staging/bcm/nvm.h index 6b70cad..a36f1c8 100644 --- a/drivers/staging/bcm/nvm.h +++ b/drivers/staging/bcm/nvm.h @@ -252,10 +252,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 -- 1.7.9.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel