aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorWenpeng Liang <liangwenpeng@huawei.com>2021-04-07 16:15:52 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-04-12 14:56:51 -0300
commit26caea5fda6e6f3d0dfeb26e71afd1623fab38c6 (patch)
tree03ca1e72a30ce2bab4503a609255857c1ebc8f8b /drivers/infiniband/core/verbs.c
parentRDMA/core: Correct format of braces (diff)
downloadlinux-dev-26caea5fda6e6f3d0dfeb26e71afd1623fab38c6.tar.xz
linux-dev-26caea5fda6e6f3d0dfeb26e71afd1623fab38c6.zip
RDMA/core: Correct format of block comments
Block comments should not use a trailing */ on a separate line and every line of a block comment should start with an '*'. Link: https://lore.kernel.org/r/1617783353-48249-7-git-send-email-liweihang@huawei.com Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
-rw-r--r--drivers/infiniband/core/verbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c
index 9370926feb6e..5b6214b803a2 100644
--- a/drivers/infiniband/core/verbs.c
+++ b/drivers/infiniband/core/verbs.c
@@ -342,7 +342,8 @@ int ib_dealloc_pd_user(struct ib_pd *pd, struct ib_udata *udata)
}
/* uverbs manipulates usecnt with proper locking, while the kabi
- requires the caller to guarantee we can't race here. */
+ * requires the caller to guarantee we can't race here.
+ */
WARN_ON(atomic_read(&pd->usecnt));
ret = pd->device->ops.dealloc_pd(pd, udata);