summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEugenia Emantayev <eugenia@mellanox.com>2017-05-25 15:11:26 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-07-27 16:40:17 +0300
commit0b794ffae7afa7c4e5accac8791c4b78e8d080ce (patch)
treedf13b6bcbd575f105386493c340acad850d0553c /include
parent0242f4a0bb03906010bbf80495512be00494a0ef (diff)
downloadlinux-0b794ffae7afa7c4e5accac8791c4b78e8d080ce.tar.bz2
net/mlx5: Fix mlx5_ifc_mtpps_reg_bits structure size
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 87869c04849a..fd98aef4545c 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -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 {