summaryrefslogtreecommitdiff
path: root/include/xen/interface/io/tpmif.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen/interface/io/tpmif.h')
-rw-r--r--include/xen/interface/io/tpmif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xen/interface/io/tpmif.h b/include/xen/interface/io/tpmif.h
index 28e7dcd75e82..f8aa8bac5196 100644
--- a/include/xen/interface/io/tpmif.h
+++ b/include/xen/interface/io/tpmif.h
@@ -46,7 +46,7 @@ struct vtpm_shared_page {
uint8_t pad;
uint8_t nr_extra_pages; /* extra pages for long packets; may be zero */
- uint32_t extra_pages[0]; /* grant IDs; length in nr_extra_pages */
+ uint32_t extra_pages[]; /* grant IDs; length in nr_extra_pages */
};
#endif