diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-08 18:02:24 -0800 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-09 17:30:21 +0100 |
commit | 45fde705b627d6194f795237647ce42eb535d1c3 (patch) | |
tree | 4e64bbab1033cd1f281564de14bb59119c3bc89d /src/lib/primitive_memtest.c | |
parent | 2f919ec4765e4484d79b866332fa19ec338db5c0 (diff) | |
download | coreboot-45fde705b627d6194f795237647ce42eb535d1c3.tar.xz |
src/lib: Add space before (
Fix the following error detected by checkpatch.pl:
ERROR: space required before the open parenthesis '('
TEST=Build and run on Galileo Gen2
Change-Id: I8953fecbe75136ff989c9e3cf6c5e155dcee3c3b
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18698
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/lib/primitive_memtest.c')
-rw-r--r-- | src/lib/primitive_memtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/primitive_memtest.c b/src/lib/primitive_memtest.c index 6e58233288..c699e8906b 100644 --- a/src/lib/primitive_memtest.c +++ b/src/lib/primitive_memtest.c @@ -25,7 +25,7 @@ int primitive_memtest(uintptr_t base, uintptr_t size) printk(BIOS_SPEW, "Performing primitive memory test.\n"); printk(BIOS_SPEW, "DRAM start: 0x%08x, DRAM size: 0x%08x", base, size); - for(i = base; i < base + (size - 1) - sizeof(p); i += sizeof(p)) { + for (i = base; i < base + (size - 1) - sizeof(p); i += sizeof(p)) { if (i % 0x100000 == 0) { if ((i % 0x800000) == 0) printk(BIOS_SPEW, "\n"); @@ -38,7 +38,7 @@ int primitive_memtest(uintptr_t base, uintptr_t size) } printk(BIOS_SPEW, "\n\nReading back DRAM content"); - for(i = base; i < base + (size - 1) - sizeof(p); i += sizeof(p)) { + for (i = base; i < base + (size - 1) - sizeof(p); i += sizeof(p)) { if (i % 0x100000 == 0) { if ((i % 0x800000) == 0) printk(BIOS_SPEW, "\n"); |