From 6fd3ee69169af2b34ca636bccde57e9cef71260d Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 1 May 2023 11:31:52 +0200 Subject: boot: Fix EFI_SIZE_TO_PAGES macro --- src/boot/efi/efi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/boot') diff --git a/src/boot/efi/efi.h b/src/boot/efi/efi.h index 4e51078d3d..b8d193154e 100644 --- a/src/boot/efi/efi.h +++ b/src/boot/efi/efi.h @@ -165,7 +165,7 @@ typedef struct { #define EFI_OS_INDICATIONS_JSON_CONFIG_DATA_REFRESH 0x80U #define EFI_PAGE_SIZE 4096U -#define EFI_SIZE_TO_PAGES(s) ((s) + 0xFFFU) >> 12U +#define EFI_SIZE_TO_PAGES(s) (((s) + 0xFFFU) >> 12U) /* These are common enough to warrant forward declaration. We also give them a * shorter name for convenience. */ -- cgit v1.2.1