forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/include/xen/interface/io/tpmif.h
....@@ -46,7 +46,7 @@
4646 uint8_t pad;
4747
4848 uint8_t nr_extra_pages; /* extra pages for long packets; may be zero */
49
- uint32_t extra_pages[0]; /* grant IDs; length in nr_extra_pages */
49
+ uint32_t extra_pages[]; /* grant IDs; length in nr_extra_pages */
5050 };
5151
5252 #endif