dm: replace zero-length array with flexible-array
[linux-block.git] / drivers / md / dm-integrity.c
index 3726b987151e5e6b9a4558ae880de106c3138bdb..f794dca22032e8bcf285fc4c6eb40098894c2372 100644 (file)
@@ -92,7 +92,7 @@ struct journal_entry {
                } s;
                __u64 sector;
        } u;
-       commit_id_t last_bytes[0];
+       commit_id_t last_bytes[];
        /* __u8 tag[0]; */
 };