]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Use delay instead of usleep
authorLijun Ou <oulijun@huawei.com>
Wed, 25 Jul 2018 07:29:38 +0000 (15:29 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Jul 2018 22:51:47 +0000 (16:51 -0600)
commit9a7692a7388488736ee053de438240fe5c2aad4f
treeb178d0b56876c93309e79e8942c7f6ec7e49a9a2
parentf59fa086583f75bdd74251fad58f2b15c9ba5737
RDMA/hns: Use delay instead of usleep

In order to avoid using usleep function in lock function, we use delay
function instead of it.  Besides, it also use brackets for standardized
the computed order.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hem.c