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>
This commit is contained in:
parent
0c9fcf6010
commit
7f5a52cc63
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue