diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-07 15:11:07 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-12 15:46:23 +0100 |
commit | 6625ecc3448b59b6adde3f10674cd578f06f786f (patch) | |
tree | 489719e94b16ce5fd9659d2d3fad5b85864f84df /src/include/tpm_lite | |
parent | 84d20d0eb3869d7babaeed7cfbe53f9edad48850 (diff) | |
download | coreboot-6625ecc3448b59b6adde3f10674cd578f06f786f.tar.xz |
src/include: Open brace on same line as enum or struct
Fix the following errors and warning detected by checkpatch.pl:
ERROR: open brace '{' following enum go on the same line
ERROR: open brace '{' following struct go on the same line
ERROR: that open brace { should be on the previous line
WARNING: missing space after struct definition
TEST=Build and run on Galileo Gen2
Change-Id: I856235d0cc3a3e59376df52561b17b872b3416b2
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18653
Tested-by: build bot (Jenkins)
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include/tpm_lite')
-rw-r--r-- | src/include/tpm_lite/tss_constants.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/tpm_lite/tss_constants.h b/src/include/tpm_lite/tss_constants.h index eda7d6b31b..937e553969 100644 --- a/src/include/tpm_lite/tss_constants.h +++ b/src/include/tpm_lite/tss_constants.h @@ -64,8 +64,7 @@ typedef uint8_t TSS_BOOL; typedef uint16_t TPM_STRUCTURE_TAG; -typedef struct tdTPM_PERMANENT_FLAGS -{ +typedef struct tdTPM_PERMANENT_FLAGS { TPM_STRUCTURE_TAG tag; TSS_BOOL disable; TSS_BOOL ownership; @@ -89,7 +88,7 @@ typedef struct tdTPM_PERMANENT_FLAGS TSS_BOOL disableFullDALogicInfo; } TPM_PERMANENT_FLAGS; -typedef struct tdTPM_STCLEAR_FLAGS{ +typedef struct tdTPM_STCLEAR_FLAGS { TPM_STRUCTURE_TAG tag; TSS_BOOL deactivated; TSS_BOOL disableForceClear; |