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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user