]> git.karo-electronics.de Git - linux-beck.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)
commit4cbdd27c9c3abf87d6fe88cdd749218193ed3e12
tree50389f99ecb6616592c47c972b4147ad36ceaca2
parent21db507439ec3a76a9587f2ad50ad3e4d13f4440
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