coreboot/src
Lee Leahy 35af5c47b0 src/lib: Fix spacing
Fix the following errors and warnings detected by checkpatch.pl:

ERROR: spaces required around that '?' (ctx:WxV)
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: spaces required around that '<' (ctx:VxV)
ERROR: spaces required around that '+=' (ctx:VxV)
ERROR: space required after that ',' (ctx:VxV)
ERROR: space required before the open brace '{'
ERROR: space required after that close brace '}'
ERROR: need consistent spacing around '+' (ctx:WxV)
ERROR: need consistent spacing around '*' (ctx:WxV)
ERROR: need consistent spacing around '&' (ctx:VxW)
ERROR: spaces required around that '?' (ctx:VxW)
ERROR: spaces required around that ':' (ctx:VxW)
ERROR: trailing whitespace
ERROR: space prohibited before that '++' (ctx:WxO)
ERROR: space prohibited before that ',' (ctx:WxW)
ERROR: space prohibited after that '!' (ctx:BxW)
ERROR: spaces prohibited around that '->' (ctx:VxW)
ERROR: space prohibited after that '-' (ctx:WxW)
WARNING: space prohibited before semicolon
WARNING: unnecessary whitespace before a quoted newline
WARNING: missing space after return type

Note that lib/libgcov.c and lib/lzmadecode.c are providing false
positives for ERROR: need consistent spacing around '*' (ctx:WxV)
An example is:
void __gcov_merge_add(gcov_type *counters  __attribute__ ((unused)),
      unsigned int n_counters __attribute__ ((unused))) {}

TEST=Build and run on Galileo Gen2

Change-Id: I0016327a5754018eaeb25bedf42338291632c7c1
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18733
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2017-03-13 17:16:08 +01:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch acpi: Update the ACPI ID for coreboot 2017-03-02 18:53:04 +01:00
commonlib commonlib: Remove space after * 2017-03-10 22:27:51 +01:00
console console: Enable do_printk_va_list for VBOOT 2016-12-27 18:07:39 +01:00
cpu cpu/amd/agesa: Unify init files 2017-03-10 11:06:56 +01:00
device device/dram/ddr2: Add common ddr2 spd decoder 2017-03-10 11:17:27 +01:00
drivers drivers/intel/fsp2_0: Switch from binary to decimal 2017-03-10 20:08:46 +01:00
ec lenovo/t400: Rewrite dock from t60 2017-03-11 13:31:41 +01:00
include src/include: Remove braces for single statements 2017-03-12 15:47:06 +01:00
lib src/lib: Fix spacing 2017-03-13 17:16:08 +01:00
mainboard google/poppy: Enable internal pull-up on PWRBTN# 2017-03-12 21:31:51 +01:00
northbridge device/dram/ddr2: Add common ddr2 spd decoder 2017-03-10 11:17:27 +01:00
soc soc/intel/common: Remove parenthesis 2017-03-13 17:09:02 +01:00
southbridge AGESA: Move heap allocator declarations 2017-03-08 03:20:27 +01:00
superio sio/ite/it8783ef: Return (0) in ACPI _PSC methods 2016-12-13 22:49:24 +01:00
vboot vboot/tpm2: enable nvmem commits on cr50 when writing firmware secdata 2017-03-09 19:15:03 +01:00
vendorcode vboot/tpm2: enable nvmem commits on cr50 when writing firmware secdata 2017-03-09 19:15:03 +01:00
Kconfig src/Kconfig: Move bootblock behavior to arch/x86 as TODO suggested 2017-02-14 19:03:42 +01:00