src/commonlib: Remove unnecessary space after casts

Change-Id: Ib20f02cc9e5be0efea8bc29fce6bd148adf28ead
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69817
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:
Elyes Haouas
2022-11-18 15:22:07 +01:00
committed by Felix Held
parent 2ba796eb23
commit 995dfefdf0
4 changed files with 6 additions and 6 deletions

View File

@@ -233,13 +233,13 @@ static int pe_relocate(uintptr_t new_addr, void *pe, void *fsp, size_t fih_off)
uint32_t i;
EFI_IMAGE_DATA_DIRECTORY *relocd;
relocd = (void *) &pe_base[offset];
relocd = (void *)&pe_base[offset];
offset += sizeof(*relocd);
// Read relocation type, offset pairs
rlen = read_le32(&relocd->Size) - sizeof(*relocd);
rnum = rlen / sizeof(uint16_t);
vaddr = read_le32(&relocd->VirtualAddress);
rdata = (uint16_t *) &pe_base[offset];
rdata = (uint16_t *)&pe_base[offset];
printk(FSP_DBG_LVL, "\t%d Relocs for RVA %x\n", rnum, vaddr);
for (i = 0; i < rnum; i++) {