aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugenia Emantayev <eugenia@mellanox.com>2017-05-25 15:11:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-11 08:33:58 -0700
commit5a3f5e891ac38ae593e60adf66d59a6511c8aeb5 (patch)
tree6b3304a8cd64682f5808f53cb4434de8377cf650
parent31d1e9e703dc03866e9fd5a2e0358be807390f3a (diff)
downloadlinux-yocto-4.12-5a3f5e891ac38ae593e60adf66d59a6511c8aeb5.tar.gz
linux-yocto-4.12-5a3f5e891ac38ae593e60adf66d59a6511c8aeb5.tar.bz2
linux-yocto-4.12-5a3f5e891ac38ae593e60adf66d59a6511c8aeb5.zip
net/mlx5: Fix mlx5_ifc_mtpps_reg_bits structure size
[ Upstream commit 0b794ffae7afa7c4e5accac8791c4b78e8d080ce ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 edafedb7b509..9d1241a25436 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -8131,7 +8131,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 {