mlx5: Fix layout of struct mlx5_init_seg
authorEli Cohen <eli@mellanox.com>
Wed, 11 Sep 2013 13:35:29 +0000 (16:35 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 10 Oct 2013 16:23:57 +0000 (09:23 -0700)
The layout of struct health_buffer was not according to firmware
specification.  Fix it to comply.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
include/linux/mlx5/device.h

index 770e3b448b3b13b86152126eb6f3993711a7e491..5eb4e31af22b8e05356dfef793c1b96497af8cb3 100644 (file)
@@ -417,7 +417,7 @@ struct mlx5_init_seg {
        struct health_buffer    health;
        __be32                  rsvd2[884];
        __be32                  health_counter;
-       __be32                  rsvd3[1023];
+       __be32                  rsvd3[1019];
        __be64                  ieee1588_clk;
        __be32                  ieee1588_clk_type;
        __be32                  clr_intx;