diff options
author | Jan Janssen <medhefgo@web.de> | 2023-05-01 11:31:52 +0200 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2023-05-01 19:08:12 +0200 |
commit | 6fd3ee69169af2b34ca636bccde57e9cef71260d (patch) | |
tree | 3cbe57dc2d4cae2c504c811a4a5b644e99e892f7 | |
parent | 5c519a56f5caf73c5d418563af939974b0af43be (diff) | |
download | systemd-6fd3ee69169af2b34ca636bccde57e9cef71260d.tar.gz |
boot: Fix EFI_SIZE_TO_PAGES macro
-rw-r--r-- | src/boot/efi/efi.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |