aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cm.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/cm.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/cm.c')
-rw-r--r--drivers/infiniband/core/cm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c
index e6db2e40a783..1b884c4313f8 100644
--- a/drivers/infiniband/core/cm.c
+++ b/drivers/infiniband/core/cm.c
@@ -255,7 +255,8 @@ struct cm_id_private {
struct completion comp;
refcount_t refcount;
/* Number of clients sharing this ib_cm_id. Only valid for listeners.
- * Protected by the cm.lock spinlock. */
+ * Protected by the cm.lock spinlock.
+ */
int listen_sharecount;
struct rcu_head rcu;