net/mlx5: Fix mlx5_ifc_mtpps_reg_bits structure size
authorEugenia Emantayev <eugenia@mellanox.com>
Thu, 25 May 2017 12:11:26 +0000 (15:11 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 27 Jul 2017 13:40:17 +0000 (16:40 +0300)
Fix miscalculation in reserved_at_1a0 field.

Fixes: ee7f12205abc ('net/mlx5e: Implement 1PPS support')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/mlx5_ifc.h

index 87869c0..fd98aef 100644 (file)
@@ -8175,7 +8175,7 @@ struct mlx5_ifc_mtpps_reg_bits {
        u8         out_pulse_duration[0x10];
        u8         out_periodic_adjustment[0x10];
 
-       u8         reserved_at_1a0[0x60];
+       u8         reserved_at_1a0[0x40];
 };
 
 struct mlx5_ifc_mtppse_reg_bits {