From b2b97a5db27befc10b015c8971c35e7ff6993d09 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Fri, 10 Mar 2017 08:40:18 -0800 Subject: drivers/intel/fsp2_0: Fix spacing issues Fix the following errors detected by checkpatch.pl: ERROR: space prohibited before that close parenthesis ')' ERROR: space required before the open parenthesis '(' ERROR: space prohibited before open square bracket '[' ERROR: spaces required around that ':' (ctx:VxE) TEST=Build and run on Galileo Gen2 Change-Id: I085aaaa9e276c60eded6edf3be0325ed2402702a Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18744 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/drivers/intel/fsp2_0/hob_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/intel/fsp2_0/hob_display.c') diff --git a/src/drivers/intel/fsp2_0/hob_display.c b/src/drivers/intel/fsp2_0/hob_display.c index c56075b873..7257aec7c5 100644 --- a/src/drivers/intel/fsp2_0/hob_display.c +++ b/src/drivers/intel/fsp2_0/hob_display.c @@ -17,7 +17,7 @@ struct hob_type_name { const char *name; } __attribute__((packed)); -static const struct hob_type_name hob_type_names [] = { +static const struct hob_type_name hob_type_names[] = { { HOB_TYPE_HANDOFF, "HOB_TYPE_HANDOFF" }, { HOB_TYPE_MEMORY_ALLOCATION, "HOB_TYPE_MEMORY_ALLOCATION" }, { HOB_TYPE_RESOURCE_DESCRIPTOR, "HOB_TYPE_RESOURCE_DESCRIPTOR" }, @@ -190,7 +190,7 @@ void fsp_display_hobs(void) /* Display the HOB header */ printk(BIOS_SPEW, "0x%p, 0x%08x bytes: %s\n", hob, hob->length, fsp_get_hob_type_name(hob)); - switch(hob->type) { + switch (hob->type) { default: soc_display_hob(hob); break; -- cgit v1.2.3