aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorRandy Dunlap <rd.dunlab@gmail.com>2018-01-05 16:21:40 -0800
committerJason Gunthorpe <jgg@mellanox.com>2018-01-10 22:00:34 -0700
commit1f58621e40abc7663d1767cedfaf71f38d13bfa8 (patch)
tree0562de0bbd7bee25915fc4f180ed095613be1b98 /drivers/infiniband/core/verbs.c
parentRDMA/cma: Fix rdma_cm path querying for RoCE (diff)
downloadlinux-dev-1f58621e40abc7663d1767cedfaf71f38d13bfa8.tar.xz
linux-dev-1f58621e40abc7663d1767cedfaf71f38d13bfa8.zip
infiniband: fix core/verbs.c kernel-doc notation
Change function parameter name in kernel-doc notation and other comments to eliminate a kernel-doc warning. ../drivers/infiniband/core/verbs.c:1790: warning: Excess function parameter 'wq_init_attr' description in 'ib_create_wq' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Doug Ledford <dledford@redhat.com> Cc: Jason Gunthorpe <jgg@mellanox.com> Cc: linux-doc@vger.kernel.org Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
-rw-r--r--drivers/infiniband/core/verbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c
index a1bcdacb7f40..15dd26cab5d8 100644
--- a/drivers/infiniband/core/verbs.c
+++ b/drivers/infiniband/core/verbs.c
@@ -1807,11 +1807,11 @@ EXPORT_SYMBOL(ib_dealloc_xrcd);
* ib_create_wq - Creates a WQ associated with the specified protection
* domain.
* @pd: The protection domain associated with the WQ.
- * @wq_init_attr: A list of initial attributes required to create the
+ * @wq_attr: A list of initial attributes required to create the
* WQ. If WQ creation succeeds, then the attributes are updated to
* the actual capabilities of the created WQ.
*
- * wq_init_attr->max_wr and wq_init_attr->max_sge determine
+ * wq_attr->max_wr and wq_attr->max_sge determine
* the requested size of the WQ, and set to the actual values allocated
* on return.
* If ib_create_wq() succeeds, then max_wr and max_sge will always be