Message ID | 20240314225827.104552-2-timg@tpi.com |
---|---|
State | New |
Headers | show |
Series | hv: hyperv.h: Replace one-element array with flexible-array member | expand |
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index aaec8500e6b5..29fe306800e2 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -348,7 +348,7 @@ struct vmtransfer_page_packet_header { u8 sender_owns_set; u8 reserved; u32 range_cnt; - struct vmtransfer_page_range ranges[1]; + struct vmtransfer_page_range ranges[]; } __packed; struct vmgpadl_packet_header {