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 <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
72a57c08b5
commit
e5b2445e46
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user