mlx5: Fix sparse warnings
authorEli Cohen <eli@dev.mellanox.co.il>
Tue, 2 Dec 2014 10:26:18 +0000 (12:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:45:56 +0000 (20:45 -0500)
commit6a4f139aae77d601bd146a6b3c4e12e7e4e0226f
treed7816ee1255a0d3dc2261983d81cd038627f3d8d
parent28c167fa8f8ea1850e6053bffb8ee30c1ac4411a
mlx5: Fix sparse warnings

1. Add required __acquire/__release statements to balance spinlock usage.
2. Change the index parameter of begin_wqe() to be unsigned to match supplied
argument type.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/qp.c