summaryrefslogtreecommitdiff
path: root/src/arch/x86/acpi.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-03 22:11:07 +0200
committerMartin Roth <martinroth@google.com>2016-10-07 18:08:48 +0200
commit7d87e767b612fc39bfe9cc7dbd1e714dbf6597cf (patch)
tree2de3cf7be8d739136e04ed4bfbb199d2e760cb55 /src/arch/x86/acpi.c
parent90ba1897441bd93ac1450805f84be8cbb0c9cebe (diff)
src/arch: Remove whitespace after sizeof
Change-Id: Ia2fc3d5ea88d61ba7c4a1daebfe74a24948c8f6e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16865 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/arch/x86/acpi.c')
-rw-r--r--src/arch/x86/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c
index edb6835dc8..53c41359d6 100644
--- a/src/arch/x86/acpi.c
+++ b/src/arch/x86/acpi.c
@@ -870,7 +870,7 @@ unsigned long write_acpi_tables(unsigned long start)
}
if (dsdt_file->length > dsdt_size
- || dsdt_file->length < sizeof (acpi_header_t)
+ || dsdt_file->length < sizeof(acpi_header_t)
|| memcmp(dsdt_file->signature, "DSDT", 4) != 0) {
printk(BIOS_ERR, "Invalid DSDT file, skipping ACPI tables\n");
return current;
@@ -880,7 +880,7 @@ unsigned long write_acpi_tables(unsigned long start)
CBFS_TYPE_RAW, &slic_size);
if (slic_file
&& (slic_file->length > slic_size
- || slic_file->length < sizeof (acpi_header_t)
+ || slic_file->length < sizeof(acpi_header_t)
|| memcmp(slic_file->signature, "SLIC", 4) != 0)) {
slic_file = 0;
}