crypto: Replace zero-length array with flexible-array member
[linux-2.6-microblaze.git] / include / crypto / if_alg.h
index 24cfa96..56527c8 100644 (file)
@@ -66,7 +66,7 @@ struct af_alg_sgl {
 struct af_alg_tsgl {
        struct list_head list;
        unsigned int cur;               /* Last processed SG entry */
-       struct scatterlist sg[0];       /* Array of SGs forming the SGL */
+       struct scatterlist sg[];        /* Array of SGs forming the SGL */
 };
 
 #define MAX_SGL_ENTS ((4096 - sizeof(struct af_alg_tsgl)) / \