net/mlx5: Fix length of async_event_mask
authorEugenia Emantayev <eugenia@mellanox.com>
Wed, 28 Sep 2016 14:29:41 +0000 (17:29 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Oct 2016 13:43:11 +0000 (15:43 +0200)
According to PRM async_event_mask have to be 64 bits long.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/eq.c

index aaca090..e74a73b 100644 (file)
@@ -469,7 +469,7 @@ void mlx5_eq_cleanup(struct mlx5_core_dev *dev)
 int mlx5_start_eqs(struct mlx5_core_dev *dev)
 {
        struct mlx5_eq_table *table = &dev->priv.eq_table;
-       u32 async_event_mask = MLX5_ASYNC_EVENT_MASK;
+       u64 async_event_mask = MLX5_ASYNC_EVENT_MASK;
        int err;
 
        if (MLX5_CAP_GEN(dev, pg))