Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[linux-block.git] / include / uapi / linux / vhost_types.h
index 1bdd6e363f4c9f1557608bf2218363e7024b1489..53601ce2c20a42b1fac94d712b39c75cca071ec6 100644 (file)
@@ -107,7 +107,7 @@ struct vhost_memory_region {
 struct vhost_memory {
        __u32 nregions;
        __u32 padding;
-       struct vhost_memory_region regions[0];
+       struct vhost_memory_region regions[];
 };
 
 /* VHOST_SCSI specific definitions */
@@ -135,7 +135,7 @@ struct vhost_scsi_target {
 struct vhost_vdpa_config {
        __u32 off;
        __u32 len;
-       __u8 buf[0];
+       __u8 buf[];
 };
 
 /* vhost vdpa IOVA range