| From: Eugenia Emantayev <eugenia@mellanox.com> |
| Date: Thu, 25 May 2017 15:11:26 +0300 |
| Subject: [PATCH] net/mlx5: Fix mlx5_ifc_mtpps_reg_bits structure size |
| References: bnc#1060662 |
| Patch-mainline: v4.12.6 |
| Git-commit: 0b794ffae7afa7c4e5accac8791c4b78e8d080ce |
| |
| [ 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> |
| Signed-off-by: Jiri Slaby <jslaby@suse.cz> |
| |
| include/linux/mlx5/mlx5_ifc.h | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h |
| index edafedb7b509..9d1241a25436 100644 |
| |
| |
| @@ -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 { |
| -- |
| 2.14.2 |
| |