[PATCH 3/8] IB/hns: Replace semaphore poll_sem with mutex

2016-10-17 Thread Binoy Jayan
The semaphore 'poll_sem' is a simple mutex, so it should be written as one. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- drivers/infiniband/hw/hns/hns_roce_cmd.c| 12 ++-- drivers/infiniband/hw/hns/hns_roce_device.h | 3 ++- 2

[PATCH 3/8] IB/hns: Replace semaphore poll_sem with mutex

2016-10-17 Thread Binoy Jayan
The semaphore 'poll_sem' is a simple mutex, so it should be written as one. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- drivers/infiniband/hw/hns/hns_roce_cmd.c| 12 ++-- drivers/infiniband/hw/hns/hns_roce_device.h | 3 ++- 2 files changed, 8