diff options
author | Wenpeng Liang <liangwenpeng@huawei.com> | 2021-04-07 16:15:52 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-12 14:56:51 -0300 |
commit | 26caea5fda6e6f3d0dfeb26e71afd1623fab38c6 (patch) | |
tree | 03ca1e72a30ce2bab4503a609255857c1ebc8f8b /drivers/infiniband/core/verbs.c | |
parent | b6eb7011f561a29d91f290e02a8dabee8169da9d (diff) | |
download | linux-26caea5fda6e6f3d0dfeb26e71afd1623fab38c6.tar.bz2 |
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.c | 3 |
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); |