diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-11-18 15:22:32 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-22 13:48:23 +0000 |
commit | 3141fbade8f2918da727d72e09b9eaf4257e8055 (patch) | |
tree | 770521e9a237ed226cac3df513dcafc3afd72d10 /src/acpi/acpigen.c | |
parent | 995dfefdf06310064db71bcad2aa7e5b0cd92fec (diff) | |
download | coreboot-3141fbade8f2918da727d72e09b9eaf4257e8055.tar.gz coreboot-3141fbade8f2918da727d72e09b9eaf4257e8055.tar.bz2 coreboot-3141fbade8f2918da727d72e09b9eaf4257e8055.zip |
src/acpi: Remove unnecessary space after casts
Change-Id: I3c077dee1c14e4aa45f837361daf799f02d32a29
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69818
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi/acpigen.c')
-rw-r--r-- | src/acpi/acpigen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c index 85b49b25b028..7afb839e5d04 100644 --- a/src/acpi/acpigen.c +++ b/src/acpi/acpigen.c @@ -256,7 +256,7 @@ static void acpigen_emit_multi_namestring(const char *name) unsigned char *pathlen; acpigen_emit_byte(MULTI_NAME_PREFIX); acpigen_emit_byte(ZERO_OP); - pathlen = ((unsigned char *) acpigen_get_current()) - 1; + pathlen = ((unsigned char *)acpigen_get_current()) - 1; while (name[0] != '\0') { acpigen_emit_simple_namestring(name); @@ -399,7 +399,7 @@ void acpigen_write_processor(u8 cpuindex, u32 pblock_addr, u8 pblock_len) acpigen_write_len_f(); snprintf(pscope, sizeof(pscope), - CONFIG_ACPI_CPU_STRING, (unsigned int) cpuindex); + CONFIG_ACPI_CPU_STRING, (unsigned int)cpuindex); acpigen_emit_namestring(pscope); acpigen_emit_byte(cpuindex); acpigen_emit_dword(pblock_addr); |