net/mlx4_en: Introduce flexible array to silence overflow warning
[linux-2.6-microblaze.git] / include / linux / mlx4 / qp.h
index 9db93e4..b6b6261 100644 (file)
@@ -446,6 +446,7 @@ enum {
 
 struct mlx4_wqe_inline_seg {
        __be32                  byte_count;
+       __u8                    data[];
 };
 
 enum mlx4_update_qp_attr {