diff options
author | Achiad Shochat <achiad@mellanox.com> | 2015-04-02 10:07:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-02 16:33:41 -0400 |
commit | 60722c2ba02be052140998bc80ed77d74e3c03df (patch) | |
tree | 9c280b9f44aadad1053345ea3edf9c0dcf0aa8bb /drivers/net/ethernet/mellanox | |
parent | b812b5441e359adb9bd44108f7f91e5b0ba4a768 (diff) |
net/mlx5_core: Use the right inbox struct in destroy mkey command
struct mlx5_query_mkey_mbox_in rather than mlx5_destroy_mkey_mbox_in
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/mr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/mr.c b/drivers/net/ethernet/mellanox/mlx5/core/mr.c index 184c3615f479..1a9b75139c2d 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/mr.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/mr.c | |||
@@ -141,7 +141,7 @@ EXPORT_SYMBOL(mlx5_core_destroy_mkey); | |||
141 | int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, | 141 | int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, |
142 | struct mlx5_query_mkey_mbox_out *out, int outlen) | 142 | struct mlx5_query_mkey_mbox_out *out, int outlen) |
143 | { | 143 | { |
144 | struct mlx5_destroy_mkey_mbox_in in; | 144 | struct mlx5_query_mkey_mbox_in in; |
145 | int err; | 145 | int err; |
146 | 146 | ||
147 | memset(&in, 0, sizeof(in)); | 147 | memset(&in, 0, sizeof(in)); |