UPSTREAM: 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: Ieb89b152cebcf88cfde80b57bbaf9cf7130b8f04
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 6625ecc344
Original-Change-Id: I856235d0cc3a3e59376df52561b17b872b3416b2
Original-Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/18653
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://chromium-review.googlesource.com/453680
This commit is contained in:
parent
e7ff5b5fa4
commit
e4befad6d1
6 changed files with 26 additions and 39 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue