net/mlx4_core: Fix wrong reading of reserved_eqs
authorMatan Barak <matanb@mellanox.com>
Thu, 13 Nov 2014 12:45:27 +0000 (14:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2014 20:16:15 +0000 (15:16 -0500)
commit7c68dd435b3ea128550c3eed62cd3cb405431374
tree6e970afc6cd38232b24d41847a7f6b882fe3fa8e
parent9cf5476bfda3c2f1d5712d7bf09b3dad91fc2f2d
net/mlx4_core: Fix wrong reading of reserved_eqs

We mistakenly read the reserved_eqs field as a standard
numeric value rather than a log2 value.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c