From dc75d3e6c183811ffd99bc943256a6713250fc30 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 7 Sep 2023 19:38:07 +0200 Subject: [PATCH] security/intel/stm: Remove __attribute__(()) Change-Id: Id35a0a589128ea2dfb2f0e5873d4fa087b0886a9 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/77717 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/security/intel/stm/StmPlatformSmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/intel/stm/StmPlatformSmm.c b/src/security/intel/stm/StmPlatformSmm.c index 69df5cd6b1..9c5ae5264e 100644 --- a/src/security/intel/stm/StmPlatformSmm.c +++ b/src/security/intel/stm/StmPlatformSmm.c @@ -70,7 +70,7 @@ int load_stm_image(uintptr_t mseg) struct descriptor { uint16_t limit; uintptr_t base; -} __attribute__((packed)); +} __packed; static void read_gdtr(struct descriptor *gdtr) {