diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-10 13:42:34 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-13 17:08:34 +0100 |
commit | 68ab0b5d1f7993735c6b113a624259bbf443ae98 (patch) | |
tree | 3adb1a21cc194700e6d911a521d0cd56a54e7280 /src/soc/intel/common/acpi | |
parent | 42e605be195b50606c8113f7f6ade3dbcdab462e (diff) |
soc/intel/common: Fix spacing issues
Fix the following errors detected by checkpatch.pl:
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: spaces required around that ':' (ctx:VxW)
ERROR: space required after that ',' (ctx:VxV)
ERROR: space required before the open parenthesis '('
ERROR: switch and case should be at the same indent
ERROR: "foo ** bar" should be "foo **bar"
TEST=Build and run on Galileo Gen2
Change-Id: I52ba2a3c1e0fffad7145eecd878aba8dc450ac0b
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18755
Tested-by: build bot (Jenkins)
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/common/acpi')
-rw-r--r-- | src/soc/intel/common/acpi/acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/acpi/acpi.c b/src/soc/intel/common/acpi/acpi.c index 63877ee668..218430fc56 100644 --- a/src/soc/intel/common/acpi/acpi.c +++ b/src/soc/intel/common/acpi/acpi.c @@ -273,8 +273,8 @@ void generate_cpu_entries(device_t device) printk(BIOS_DEBUG, "Found %d CPU(s) with %d core(s) each.\n", numcpus, cores_per_package); - for (cpu_id=0; cpu_id < numcpus; cpu_id++) { - for (core_id=0; core_id < cores_per_package; core_id++) { + for (cpu_id = 0; cpu_id < numcpus; cpu_id++) { + for (core_id = 0; core_id < cores_per_package; core_id++) { if (core_id > 0) { pcontrol_blk = 0; plen = 0; |