boot: Fix EFI_SIZE_TO_PAGES macro

This commit is contained in:
Jan Janssen
2023-05-01 19:08:12 +02:00
parent 5c519a56f5
commit 6fd3ee6916
+1 -1
View File
@@ -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. */