]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Fix a bug in alloc_token
authorAchiad Shochat <achiad@mellanox.com>
Thu, 2 Apr 2015 14:07:28 +0000 (17:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 20:33:42 +0000 (16:33 -0400)
commit3ecd45f5d1abcdaf38da626742160d33f321c4c2
tree50389f99ecb6616592c47c972b4147ad36ceaca2
parent867d56bb7b7803ad35820a90fe08f9f5369b99a2
net/mlx5_core: Fix a bug in alloc_token

In alloc_token(), the token '1' would be allocated twice consecutively.

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>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c