diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-15 14:15:38 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-16 04:11:10 +0100 |
commit | 8bad6d2f90ba852f9728726fcda0e6b912cae631 (patch) | |
tree | 6e492018f0b0c54947c71b30460c989c329e4d37 /src/cpu/x86/car.c | |
parent | 5f94541329eddb531605c32d73467c46b9d707df (diff) |
cpu/x86: Fix various issues detected by checkpatch.pl
Fix the following errors and warning detected by checkpatch.pl:
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: space prohibited after that open parenthesis '('
ERROR: need consistent spacing around '|' (ctx:WxV)
ERROR: need consistent spacing around '|' (ctx:VxW)
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: spaces required around that '==' (ctx:VxV)
ERROR: spaces required around that ':' (ctx:ExV)
WARNING: space prohibited between function name and open parenthesis '('
TEST=Build and run on Galileo Gen2
Change-Id: I61d08055b207c607d5b7d72b0094ad8e24fbd106
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18840
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/x86/car.c')
-rw-r--r-- | src/cpu/x86/car.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/car.c b/src/cpu/x86/car.c index 825255e7db..606a35e2f6 100644 --- a/src/cpu/x86/car.c +++ b/src/cpu/x86/car.c @@ -62,7 +62,7 @@ void *car_get_var_ptr(void *var) } #if IS_ENABLED(CONFIG_PLATFORM_USES_FSP1_0) - migrated_base=(char *)find_saved_temp_mem( + migrated_base = (char *)find_saved_temp_mem( *(void **)CBMEM_FSP_HOB_PTR); /* FSP 1.0 migrates the entire DCACHE RAM */ offset = (char *)var - (char *)CONFIG_DCACHE_RAM_BASE; @@ -72,7 +72,7 @@ void *car_get_var_ptr(void *var) #endif if (migrated_base == NULL) - die( "CAR: Could not find migration base!\n"); + die("CAR: Could not find migration base!\n"); return &migrated_base[offset]; } |