Index: firmware/lib/cgptlib/include/gpt.h |
diff --git a/firmware/lib/cgptlib/include/gpt.h b/firmware/lib/cgptlib/include/gpt.h |
index 1e8f47ff5d33e2a3e4a74302bdbe33d23814f4ec..cd5e12b9b7a5865d145a0cddf1b8212e8d11fe72 100644 |
--- a/firmware/lib/cgptlib/include/gpt.h |
+++ b/firmware/lib/cgptlib/include/gpt.h |
@@ -83,7 +83,7 @@ typedef struct { |
uint32_t number_of_entries; |
uint32_t size_of_entry; |
uint32_t entries_crc32; |
- uint8_t reserved_padding[]; /* entire sector reserved for header */ |
+ /* Remainder of sector is reserved and should be 0 */ |
} __attribute__((packed)) GptHeader; |
/* GPT partition entry defines the starting and ending LBAs of a partition. |
@@ -104,7 +104,7 @@ typedef struct { |
uint64_t whole; |
} attrs; |
uint16_t name[36]; /* UTF-16 encoded partition name */ |
- uint8_t reserved[]; /* nothing, really */ |
+ /* Remainder of entry is reserved and should be 0 */ |
} __attribute__((packed)) GptEntry; |
#endif /* VBOOT_REFERENCE_CGPTLIB_GPT_H_ */ |