From 6625ecc3448b59b6adde3f10674cd578f06f786f Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 7 Mar 2017 15:11:07 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/18653 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Paul Menzel --- src/include/cpu/x86/msr.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/include/cpu/x86/msr.h') diff --git a/src/include/cpu/x86/msr.h b/src/include/cpu/x86/msr.h index c663d29c36..1175f3b1ba 100644 --- a/src/include/cpu/x86/msr.h +++ b/src/include/cpu/x86/msr.h @@ -17,14 +17,12 @@ static void wrmsr(unsigned long index, msr_t msr) #else -typedef struct msr_struct -{ +typedef struct msr_struct { unsigned int lo; unsigned int hi; } msr_t; -typedef struct msrinit_struct -{ +typedef struct msrinit_struct { unsigned int index; msr_t msr; } msrinit_t; -- cgit v1.2.3