aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorrd.dunlab@gmail.com <rd.dunlab@gmail.com>2019-10-09 20:52:46 -0700
committerJason Gunthorpe <jgg@mellanox.com>2019-10-22 14:52:56 -0300
commit094c88f3c5e8aa5e03a9a2772886a174485b431b (patch)
treea7359b8832b0c9cd1727707f866dd04cc6e0379f /drivers/infiniband/core/verbs.c
parentinfiniband: fix ulp/srpt/ib_srpt.h kernel-doc notation (diff)
downloadlinux-dev-094c88f3c5e8aa5e03a9a2772886a174485b431b.tar.xz
linux-dev-094c88f3c5e8aa5e03a9a2772886a174485b431b.zip
infiniband: fix core/verbs.c kernel-doc notation
Add missing function parameter descriptions: ../drivers/infiniband/core/verbs.c:257: warning: Function parameter or member 'flags' not described in '__ib_alloc_pd' ../drivers/infiniband/core/verbs.c:257: warning: Function parameter or member 'caller' not described in '__ib_alloc_pd' Link: https://lore.kernel.org/r/20191010035240.011497492@gmail.com Signed-off-by: Randy Dunlap <rd.dunlab@gmail.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
-rw-r--r--drivers/infiniband/core/verbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c
index f974b6854224..d357ac077bd8 100644
--- a/drivers/infiniband/core/verbs.c
+++ b/drivers/infiniband/core/verbs.c
@@ -244,6 +244,8 @@ EXPORT_SYMBOL(rdma_port_get_link_layer);
/**
* ib_alloc_pd - Allocates an unused protection domain.
* @device: The device on which to allocate the protection domain.
+ * @flags: protection domain flags
+ * @caller: caller's build-time module name
*
* A protection domain object provides an association between QPs, shared
* receive queues, address handles, memory regions, and memory windows.