diff options
author | Achiad Shochat <achiad@mellanox.com> | 2015-04-02 16:07:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-02 22:33:41 +0200 |
commit | 60722c2ba02be052140998bc80ed77d74e3c03df (patch) | |
tree | 9c280b9f44aadad1053345ea3edf9c0dcf0aa8bb | |
parent | net/mlx5_core: Clear doorbell record inside mlx5_db_alloc() (diff) | |
download | linux-60722c2ba02be052140998bc80ed77d74e3c03df.tar.xz linux-60722c2ba02be052140998bc80ed77d74e3c03df.zip |
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>
-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); int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, struct mlx5_query_mkey_mbox_out *out, int outlen) { - struct mlx5_destroy_mkey_mbox_in in; + struct mlx5_query_mkey_mbox_in in; int err; memset(&in, 0, sizeof(in)); |