summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorYuchen He <yuchenhe126@gmail.com>2023-03-21 22:36:20 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-03-22 23:53:42 +0000
commit7f5a52cc63292a6b02dd64dcf0c9795a2dae014d (patch)
treebc8159db9978666755fa33f968c81f39f891b2c4 /src/arch
parent0c9fcf6010858e472ef038e77397b667fbb43ada (diff)
x86/include/registers.h: macros should not use a trailing semicolon
Macros should not use a trailing semicolons. Remove those from 'LONG_DOWNTO8' aswell as 'LONG_DOWNTO16' and add them at places where the macros are used. Signed-off-by: Yuchen He <yuchenhe126@gmail.com> Change-Id: I5ba01bc09f9a2d9ecd54014e27ec0a24c7297412 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73864 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/arch/registers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/include/arch/registers.h b/src/arch/x86/include/arch/registers.h
index 7043cd1941..2145fbc682 100644
--- a/src/arch/x86/include/arch/registers.h
+++ b/src/arch/x86/include/arch/registers.h
@@ -19,7 +19,7 @@
uint16_t h##A##x; \
} __packed; \
uint32_t e##A##x; \
- } __packed;
+ } __packed
#define LONG_DOWNTO16(A) \
union { \
@@ -28,17 +28,17 @@
uint16_t h##A; \
} __packed; \
uint32_t e##A; \
- } __packed;
+ } __packed
#define QUAD_DOWNTO8(A) \
union { \
- LONG_DOWNTO8(A) \
+ LONG_DOWNTO8(A); \
uint64_t r##A##x; \
} __packed
#define QUAD_DOWNTO16(A) \
union {\
- LONG_DOWNTO16(A) \
+ LONG_DOWNTO16(A); \
uint64_t r##A; \
} __packed