diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2017-08-28 16:38:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-29 14:58:32 -0700 |
commit | a434f1fd2c96f44d7483d5bd789eec2d3cbb2d20 (patch) | |
tree | a731a99d10fd77546e4b3eca4850aaf0726a97a9 /drivers/net/ethernet/mellanox/mlx4/eq.c | |
parent | 187782eb58a89ea030731114c6ae37842a4472fe (diff) | |
download | linux-a434f1fd2c96f44d7483d5bd789eec2d3cbb2d20.tar.gz linux-a434f1fd2c96f44d7483d5bd789eec2d3cbb2d20.tar.bz2 linux-a434f1fd2c96f44d7483d5bd789eec2d3cbb2d20.zip |
net/mlx4_core: Fix misplaced brackets of sizeof
When changing the sizeof style usage in the patch cited below,
one brackets misplacement was introduced. Here we fix it.
Fixes: 31975e27a4b5 ("mlx4: sizeof style usage")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/eq.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/eq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/eq.c b/drivers/net/ethernet/mellanox/mlx4/eq.c index b98698bf75dd..6f57c052053e 100644 --- a/drivers/net/ethernet/mellanox/mlx4/eq.c +++ b/drivers/net/ethernet/mellanox/mlx4/eq.c @@ -726,7 +726,7 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) } memcpy(&priv->mfunc.master.comm_arm_bit_vector, eqe->event.comm_channel_arm.bit_vec, - sizeof(eqe)->event.comm_channel_arm.bit_vec); + sizeof(eqe->event.comm_channel_arm.bit_vec)); queue_work(priv->mfunc.master.comm_wq, &priv->mfunc.master.comm_work); break; |