Skip to content

Commit

Permalink
Staging: bcm: Enclose complex values in parenthesis in nvm.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 72a57c0 commit e5b2445
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/bcm/nvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5b2445

Please sign in to comment.